Skip to content

A lexical and syntax analyzer for a simple object-oriented programming language called Toy.

Notifications You must be signed in to change notification settings

RKuttruff/Compiler-Project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler Project

Group Members: Brandon Prak, Riley Kuttruff, Adam Do

Software Versions:

  • JDK - 11.0.8
  • JFlex - 1.8.2
  • CUP - 0.11b

To Compile Project 1:

  1. Open terminal
  2. Navigate to where the files are located (e.g. C:/Desktop/Compiler-Project/src/)
  3. Type 'javac *.java'

To Run Project 1: java Main <input file>

To Compile Project 2:

  1. Open terminal
  2. Navigate to where the files are located (e.g. C:/Desktop/Compiler-Project/src/)
  3. Type 'javac -cp ".;java-cup-11b.jar" Main.java'

To Run Project 2: java -cp ".;java-cup-11b.jar" Main <input file>

About

A lexical and syntax analyzer for a simple object-oriented programming language called Toy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.7%
  • HTML 0.7%
  • Lex 0.5%
  • Starlark 0.1%
  • Vim Script 0.0%
  • Makefile 0.0%