prannayk / CS335

Compiler Course Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Compiler Course Project

License:MIT License


Languages

Language:C++ 53.8%Language:Yacc 16.4%Language:Lex 14.9%Language:GAP 3.5%Language:JavaScript 3.4%Language:C 3.4%Language:Python 2.7%Language:Makefile 1.0%Language:Go 0.6%Language:HTML 0.2%Language:Shell 0.1%