Compiler and Design Laboratory
Home | Academics | Laboratories | Compiler and Design
Overview
Lab experiments with respect to the course Compiler Design have been carried out in this laboratory. Students work on various aspects of compiler construction including lexical analysis, parsing, semantic analysis, and code generation.
Key Experiments
- Create programs to recognize various strings given in the form of regular expression
- Write program in C programming language to create lexical analyzer
- Install "Lex" tool for generating Lexical Analyzer
- Create programs in "Lex" for various pattern matching tasks
- Create a program for simulating the task of a Recursive Descent Parser
- Creation of YACC (Parser Generator) source programs
Student Projects
Apart from the standard experiments, students are encouraged to take up project works which are relevant in the IT industry.
Sample Projects
- Mini-compiler for a subset of C language
- Syntax-directed translation schemes
- Intermediate code generation
- Code optimization techniques
Industry Relevance
- Static code analysis tools
- Domain-specific language development
- Compiler optimizations for modern architectures
Lab Resources
Software Tools
- Flex (Fast Lexical Analyzer Generator)
- Bison (YACC-compatible Parser Generator)
- ANTLR (Parser Generator)
- LLVM Compiler Infrastructure
Development Environment
- Linux-based workstations
- Visual Studio Code with compiler plugins
- Eclipse IDE with CDT
- Version control systems (Git)
Reference Materials
- Dragon Book (Compilers: Principles, Techniques, and Tools)
- Modern Compiler Implementation in C/Java/ML
- Online compiler construction resources
Faculty In Charge

Dr. Dilip Kumar Choubey
Assistant Professor
Lab Technician

Mr. Love Panday
Junior Technical Superintendent


