You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tokenizer do lexical analysis, generate a sequence of tokens defined by regular expression.
Parser do syntax analysis, parse the token sequence into a Tree.
Interpreter traverse the tree and execute the math expressions, which should be motified to satisfy your own needs.
The total lines of code is less than 700, most of which is quite straight forward.
If you could make your question more specific, I would be glad to help.
Could you comment the code to be more clear about what does what? I'm having trouble modifying it and using it for my own needs.
The text was updated successfully, but these errors were encountered: