A 42 project which is basically a reproduction of bc
. Final grade 124/100
- Make sure that you've installed
requirements.txt
withpip
- Run the program with:
python3 main.py
- Type
help
after prompt for usage. - Or see pdf(EN) or pdf(FR) for usage.
- Please install
pytest
with pip - Then run
python -m pytest .
at the root of the repository
MANDATORY
- Lexer
- Parser
- variables handling
- functions handling
- complex handling
- matrix handling
- Math lib
Bonus
- Documentation
- Unittests
- Function curve display (Kivy)
- Added usual functions
- Radian computation for angles
- Function composition
- Norm computation
- History of commands w/results
- Matrix inversion
- An extension of the matrix computation applied to vector computation
- Integer divs (floordivs)
- Others (cmds: quit, help, stored vars, ...)
- quit
- vars
- funcs
- draw
BEWARE:
draw
is not compatible w/MacOSX