ERPLAG-Compiler
Compiler for the toy language ERPLAG as a part of Compiler Construction course at BITS Pilani
Modules
- Lexer.c - Token Generation
- Parser.c - Top Down parsing usign the Grammar.txt
- TypeChecker.c - Contains AST construction, DataType checking and Semantic Analysis
- SymbolTable.c - Hashed IDs and ModuleName
- Codegen.c - NASM assembly code generation for X86 processors
- Driver.c - Integration of all the modules
Compilation and Executon
- make
- ./compiler testcases/c1.txt code.asm i.e. 'executable-name' 'testcase-name' 'output-file'
Team Members
- Shivam Gupta (g66shivam)
- Pulkit Gupta (pulkitsja)