Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 549 Bytes

File metadata and controls

10 lines (7 loc) · 549 Bytes

Lexical & Syntax Analyser

This assignment uses javacc to create a parser. The aim of this assignment is to implement a lexical and syntax analyser using JavaCC for a simple language called CAL. The details of the CAL language are given https://github.com/randlea2/LexicalSyntaxAnalyser/blob/master/cal.pdf

Code

The code for the parser - https://github.com/randlea2/LexicalSyntaxAnalyser/blob/master/CALParser%20.jj

Report

The report on the parser - https://github.com/randlea2/LexicalSyntaxAnalyser/blob/master/CALParser_description.pdf