This is supposed to be a CAS calculator. As of now, it's only a normal calculator that can also handle unknown variables.
In order to be a fully fledged computor-v1
,
it must be able to resolve equations of degree 2 (a*x^2+b*x+c=0
).
- Add complex numbers
- solve some equations ffs
- add global variables & functions
This project uses a Recursive Descent Parser
Expr --> Expr { '+'|'-' Term } | Term
Term --> Term { '\*'|'/' Factor }
Factor --> Value {'^' Factor}
Value --> Num | Var | Fun | '(' Expr ')'