Extend the parser
Extend the parser, to support division and subtraction.
TODO
- Add tests for division and subtraction.
- Add support for subtraction, by doing the following:
- Modify the data structures for tokens and the AST.
- Add support for subtraction to the lexer.
- Add support for subtraction to the parser.
- Add support for subtraction to the evaluator.
- Run the tests.
- Add support for division, following the same steps you used to add support for subtraction. In the evaluator, you do not need to worry about division by 0.