An open API service indexing awesome lists of open source software.

https://github.com/noot/csc467-lab3

implementation of ast allocation and semantic checks
https://github.com/noot/csc467-lab3

Last synced: 10 months ago
JSON representation

implementation of ast allocation and semantic checks

Awesome Lists containing this project

README

          

to make project: `make`

to run compiler467 with trace scanner and input file: `./compiler467 -Tn test.in`

```
Part 1: (Elizabeth)
Set up of files:
- MakeFile
- AST --> starter code given (header and C file)
- C file for semantic parsing --> need to write
- Symbol Table -> create header and C files for
- Fix mistake from lab2

Part 2:
AST:
- AST contruction (Elizabeth)
- AST teardown (Elizabeth?)
- AST printing

Part 3:
Semantic Checking:
- Implicit type conversions
- Operators
- Conditions
- Function calls
- Constructor calls
- Vector indexing
- Initialization
- Assignment
- Variables
- Predefined variables
- Report Semantic Errors

Part 4:
- Symbol Table (Elizabeth?)
```