Skip to content

an llvm translator for minijava input files. written in java

Notifications You must be signed in to change notification settings

mar-kan/compilers_java-to-LLVM

Repository files navigation

Compilers Project 3

Compile instructions: $ make

Execution instructions: $ java Main [input files]


Package with the classes is almost intact from proj2. Offsets were added inside the classes (for methods and variables.)

Visitor1 was kept almost intact to fill the 's classes . Types are now used in the LLVM format (in symbols too).

package llvmTranslator was created, including the new visitor that is used for the translation and a class that manages the output file and writes the llvm.

llvmVisitor's methods mostly return the counter register which was used last in the function. In some methods the classname is return along with the register in the format ,.


About

an llvm translator for minijava input files. written in java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published