-
Notifications
You must be signed in to change notification settings - Fork 0
Compiler for MiniJava that does grammar, semantic and a parsing check to see if there are any errors in the program, if there are not any it writes visitors that turn MiniJava code into the intermediate representation used by the LLVM
nikossrp/MiniJava-Compiler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
>>java Main minijava_program_name1.java [minijava_file_name2.java] [minijava_file_name3.java]
You will need to execute the produced LLVM IR files in order to see that their output is the same as compiling the input java file with javac and executing it with java. To do that, you will need Clang with version >=4.0.0
>>clang -o out1 minijava_program_name.ll
Run
>>./out1
About
Compiler for MiniJava that does grammar, semantic and a parsing check to see if there are any errors in the program, if there are not any it writes visitors that turn MiniJava code into the intermediate representation used by the LLVM
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published