Skip to content

YSLja/parser

Repository files navigation

Group Project 2 - Parser for CSC 4351

Authors: Kyle King, Ja Aupart, Sam Vekovius, Benjamin Gutowski

The ANTLR parser reads source code and produces a parse tree from the grammar defined in gParser.g4. The ASTBuilder.java visitor then walks the parse tree, converting each context node into a corresponding Absyn node. 28 visitor functions were implemented to cover all grammar rules.


How to run.

Clone the repository with:

git clone https://github.com/YSLja/parser.git

Open the downloaded project folder in Terminal.

For a single test, run the run.sh script with:

./run.sh

To run all 100 tests, run the test.sh script with:

./test.sh

And the solutions will print to report.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors