/CS335

Compiler Course Project

Primary LanguageC++MIT LicenseMIT

CS335

Compiler Course Project

Lexer :

  1. Created using Flex
  2. Created for Golang
  3. flex input can be found under src/lex/golang.l
  4. Compiles with extern declaration
  5. Using g++ with -lfl flag.

Code Generator :

  1. Function declaration takes list of data-types
  2. Parameter and Function start / end are stored as instruction in the list