Recursive Descent Calculator
This is a recursive descent calculator. It uses recursion to both interpret and parse the input. The lexer is just a
bash for the running and node for the logic
- Lexer: Loop through each character of the code and look for things accordingly
- Interpreter: Recursively evaluate the tree.
I think the code will help more.
I hope this helps you with your language! It certainly taught me a lot!
Have a great day