Skip to content

Gaurang18/Compiler-Project-BITS-Pilani

Repository files navigation

COMPILER CONSTRUCTION

Got A Grade in the Compiler. This Project is designed in C for ELPLAG Language as fulfillment for Compiler Construction Course The Project is fully executable and testcases have been added for reference

The Modules implemented are:

  1. Lexer
  2. Parser
  3. Abstract Syntax Tree
  4. Symbol Table
  5. TypeChecking and Semantic Analysis
  6. Code Generation for NASM

Process of execution:

  1. Download the Folder
  2. Extract Folder and open terminal
  3. Run 'make'
  4. The Compiler would be compiled
  5. To execute :- ./compiler testcase1.txt code.asm
  6. Execute by pressing keys in order