Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

cglong/Grammartizer

Repository files navigation

To run the program, extract all of the files and navigate to the source directory.

Type ant to build the java files.

Usage is:

jar -jar Grammartizer.jar grammar_file input_file

Where:

  • grammar_file is the grammar specification, formatted as specified in the project spec.
  • input_file is the input program to parse.

Alternatively, the files can be run from Eclipse.

  1. Create a new Eclipse project and include all of the files.
  2. Specify the grammar file and input file as parameters to main (in args).
  3. args[0] should be the grammar file, and args[1] should be the input file.
  4. main is located in Driver.java
  5. Running Driver.java should run the program.

About

An LL(1) parser for CS 3240 at Georgia Tech

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages