Skip to content

Croge32/CS4351-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS4351-Compiler

Compiler project for LSU's CSC4351

Group Members

  1. Cody Rogers
  2. Blake Capello

Instructions

  1. Clone onto local machine:
git clone https://github.com/Croge32/CS4351-Compiler.git
  1. Run included SETUP, put in necessary information over the default example credentials.
  2. After completion, run:
source .env
cd prog1/ (or whichever prog is being examined)
source .profile

Make 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.tig

Everything 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.

About

Compiler project for LSU's CSC4351

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published