Compiler

  • Category: Compilers
  • Tools & Frameworks: C, YACC
  • Project Duration: Jan-March, 2024

Details

  • Developed a custom compiler for a proprietary programming language, incorporating a lexer for tokenization and a parser for syntactic analysis.
  • Utilized YACC to generate parse tables from context-free grammar (CFG) and implemented an LR1 parser to ensure accurate syntax checking.
  • Designed and implemented a code generation module, transforming the intermediate representation into executable machine code.
  • Enhanced understanding of compiler design principles, including lexical analysis, parsing strategies, and code generation techniques.