GitXplorerGitXplorer
D

PL0ICGProject

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
48b5c81775bd8c704544c7cd0ab0bfd507e3376c

Update grammar to be dual recursive or just left recursive.

committed 2 years ago
Unverified
f5f03180e22920365a602b7eea456f8acb199ba6

Update documentation comments.

committed 2 years ago
Unverified
47241be2a96eed4b06b3edd361efe0289372bb58

Fix readme.

committed 2 years ago
Unverified
055a40f6506b307b0696d118e21945423a5c248a

Modifications.

committed 2 years ago

README

The README file for this repository.

CPSC 323 Project 3: Intermediate Code Generation [PL/0 -> AST]

Group Members

Please modify this section and list your group members in this format.

Example Name ename@nowhere.com (delete me)

Instructions

Please refer to the this document.

How to build

Ensure you have a C/C++ compiler, make, and CMake installed. Executed the follow commands in terminal in the repository directory.

mkdir build
cd build
cmake ../
make

The resulting executables are populated within the build directory, which include Compiler.out and Test.out.

Compiler.out takes one argument, the file path of the file to perform syntax directed translation on. You are not graded on the test cases, so the Compiler.out driver will produce a textual representation of the ASTs that you will create. Test.out executes test cases, in which you may create your own.

./Compiler.out ../test/test_code/test1.p0

Test.out is executed without arguments.

./Test.out

This test executable does not contain tests that verify correctness of your AST. You must build the AST to the specification and verify the results. Feel free to write your own tests this time.