Compiler project for LSU's CSC4351
- Cody Rogers
- Blake Capello
- Clone onto local machine:
git clone https://github.com/Croge32/CS4351-Compiler.git- Run included SETUP, put in necessary information over the default example credentials.
- After completion, run:
source .env
cd prog1/ (or whichever prog is being examined)
source .profileMake and run the project using:
Unix:
make
java Parse.Main test.tig
Windows:
rm -f */*.class Parse/Yylex.java (Equivalent to make clean)
javac -g Parse/*.java
cd Parse
java JLex.Main Tiger.lex
mv Tiger.lex.java Yylex.java
cd ..
java Parse.Main test.tigEverything should work as according to the instructions. Some issues may occur involving the escape sequences.
Special thanks to Jonathan Hooper (jmhooper) for the setup files necessary to easily compile the project locally.