https://github.com/noot/csc467-lab4
implementation of code generation
https://github.com/noot/csc467-lab4
Last synced: over 1 year ago
JSON representation
implementation of code generation
- Host: GitHub
- URL: https://github.com/noot/csc467-lab4
- Owner: noot
- Created: 2018-11-14T16:24:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-03T20:15:33.000Z (over 7 years ago)
- Last Synced: 2025-01-13T11:13:27.640Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 437 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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?)
```