Math interpreter for learning programming languages.
<exp> ::= <term> | <exp> "+" <term> | <exp> "-" <term>
<term> ::= <factor> | <term> "*" <factor> | <term> "/" <factor>
<factor> ::= <number> | "(" <exp> ")"
<number> ::= <digit> | <digit> <number>
<digit> ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
To install dependencies:
bun install
To run:
bun mathl