Files

CS 370 Compilers

Ziad Arafat - Feb 28 2021

Overview

In this project we are combining and extending the symbol table utilities we built and the calculator we built in order to create basic data types and more sophisticated syntax.

To run code

  • to build run:
make
  • to test the code with the testinput.txt file run:
make test
  • to clean the generated files
make clean

Screenshots

  1. Symbol table is full

symfull

  1. The variable already exists

alt

  1. The variable doesn't exist

alt

  1. Left and right assignment usage test

alt