Skip to content

Performs lexical analysis and syntax analysis of an input program, based on a subset of the Java Language.

Notifications You must be signed in to change notification settings

IRFVIN/parser-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parser-project

Task

Java: for..each loop

//Anything

Type sequence = new Type();

//Anything
for(type var : sequence){
   // Anything
}
//Anything

Running the Project

Running Instructions

chmod +x run.sh
./run.sh tests/basic.java

To Do

Coding

  • Lex file (.l), with well documented code
  • Yacc file (.y), with well documented code

Report

  • Syntax
  • Assumptions
  • Test Cases

Due Date: 02 July, 2021.

References