A LL(1) recursive descent parser written in C++.
This project adds local scope static semantics verification on the parse tree.
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:
- Provide a source code file with the extension
.fs182
.
statSem filename
- Provide the source code file to stdin using redirection:
statSem < filename.fs182
- Or, provide source code via the keyboard (stdin) and press ctrl-d to enter the EOF character when done:
statSem