frouioui / nanotekspice Goto Github PK
View Code? Open in Web Editor NEW2nd Year project in C++ at Epitech
Home Page: https://frouioui.github.io/NanoTekSpice/
2nd Year project in C++ at Epitech
Home Page: https://frouioui.github.io/NanoTekSpice/
Analyse of the project
To do:
Define algorithm
Understand how the parsing is supposed to work and all the rules
One class per type
Implementation of a system that would parse the main's arguments. Parsing the filename and the key=value data.
To do so, I was thinking about implementing a class (e.g ArgumentParser
) that will have a static function returning a struct with: the filename and a map of key=value.
The class ArgumentParser
will be part of the a namespace Parser
.
Division of the Parsing
class, create sub class and remove the static function, instantiate the class instead.
Abstract class
Display the error handling on stderr and not on stdout
What needs to be tested
Test the Simulation
functions.
What is the purpose of the function / part of the program that needs to be tested?
This class simulate the whole circuit/program, it runs the main loop
Create the Simulation
class and all its member and ctor/dtor.
This class will host the Start
function and all the Start
's associated functions like End
, Simulate
...
The Start
function will read on std::cin and wait for instruction.
Declaration of the ctor and dtor of this class.
Interface class for Component class (abstract class)
Create the basic function, ctor and dtor.
To do:
Originally posted by @frouioui in #5 (comment)
FactoryComponent class creates different type class from the given type
Remove all the error class in Parser.hpp
and use the Errors.hpp
instead.
As of today the new Error namespace and class are on the Component
branch.
Parser.hpp
Implement the parsing function.
Member function of the Parser
class.
For more information on the parsing task #1
To do:
Parse function
Remove useless line function
Create links function
Error class and error functions
OpenFile function
Check / Verification functions (links, name ...)
Add the travis.yml file and configure the file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.