CS335
Compiler Course Project
Lexer :
- Created using Flex
- Created for Golang
- flex input can be found under src/lex/golang.l
- Compiles with extern declaration
- Using
g++
with-lfl
flag.
Code Generator :
- Function declaration takes list of data-types
- Parameter and Function start / end are stored as instruction in the list