Skip to content

(Fall 2023) A compiler for Minijava, a subset of the Java Language

License

Notifications You must be signed in to change notification settings

gmaldona/minijava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A compiler for MiniJava

MiniJava is a subset of the Java language

A few examples of the MiniJava language can be found here.
The grammar used in this project comes from the grammar found on here.


Downloading the ANTLR4 Tools:

From the root directory of the project, run the following script to install the ANTLR4 tools.

$ ./scripts/build_venv.sh

Compiling the MiniJava Grammar using ANTLR4:

From the root directory of the project, run the following script to compile the MiniJava Grammar using ANTLR4.

$ ./scripts/compile_grammar.sh

About

(Fall 2023) A compiler for Minijava, a subset of the Java Language

Topics

Resources

License

Stars

Watchers

Forks