/Java-Parsers-IT327

LL(1) Recursive-Descent Parser using Java. For IT327.

Primary LanguageJava

LL(1) Recursive-Descent Parser and LR(1) Shift-Reduce Parser, written in Java.

  • Accepts command line input in the following format (quotes optional): java LL1 "100-((2*(5-3))-2)+3"
  • Prints an error message and terminates if the input is invalid.
  • Prints a success message and the answer to the math problem if the input is valid.