-
Notifications
You must be signed in to change notification settings - Fork 1
sennpy/CSC431
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
To build the project, simply run make. Requires antlr to be in the classpath. To run the compiler, run 'java Compile <args> <source>.mini'. This will send the assembly to stdout. The available optimization options are: -copy: Copy propogation -useless: Useless code removal -const: Constant folding and propogation Additionally, the debug flag -dumpIL will cause the ILOC to be printed to the screen. For convienience, the compile.sh script can be run from any directory and will compile the given source with all optimizations. It should be run as 'bash compile.sh <source>' where source is the name of the source file without the .mini extension. This will put the assembly to a file called <source>.s, and run gcc to create an executable called <source>.out.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published