Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 485 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 485 Bytes

c-minus

The C- Programming Language Parser and Lexer (CS4542 Assignment)

You'll need Java.
Put antlr-4.7.1-complete.jar here (if any other version, you'll have to change all the batch files).
Run:

  1. antlr4.bat

  2. compile.bat

  3. grun.bat in correct order and enter the sample program code to test. After typing the code in, you'll need to press Ctrl+Z to mark the End of File, And then press enter.

    (You can copy-paste the examples in the sample directory. )