โ Projects
CMinus Compiler
A full compiler for the C-minus language (lexer, parser, semantic analyzer, and code generator) written in pure Python.
C-minus Compiler
A compiler for the C-minus language, implemented end to end in Python for the Compiler Design course:
- Scanner โ tokenizing with a hand-written lexer.
- Parser โ building the parse tree from the grammar.
- Semantic analysis โ scope and type checks with useful error messages.
- Intermediate code generation โ producing three-address-style output.
Writing a compiler is one of the best ways to understand how programming languages actually work.