Repository navigation
Releases
Releases · davisroman456/Mini-Integer-Programming-Language
v2.0.0 – Pratt parser, exponentiation, grouping, HELP and CLEAR
What's new
- Pratt parser: replaces the recursive descent expression parser
- Exponentiation:
^, right-associative (2^3^2is2^(3^2)) - Grouping:
()and[], each opener must close with its own kind - Keywords:
HELPandCLEAR, andPRINT,HELP,CLEAR,QUITare now reserved words >prompt for statements
Run it
Requires Java 21 or later.
java -jar Mini_Integer_Programming_Language.jar
CLEAR needs an ANSI-compatible terminal (like Windows Terminal), not Eclipse's console.
See the README for syntax and examples.