/parser

Recursive descent parser for compilers class

Primary LanguageC++MIT LicenseMIT

Parser

A recursive descent parser written in C++.

Usage

To build the project run:

make

To run the project you must provide a file that contains source code. There are 3 ways to do this:

  1. Provide a source code file with the extension .fs182.
frontEnd filename
  1. Provide the source code file to stdin using redirection:
frontEnd < filename.fs182
  1. Or, provide source code via the keyboard (stdin) and press ctrl-d to enter the EOF character when done:
frontEnd