Decaf Compiler
Compiler for Decaf programming language
Decaf Compiler

Simple Compiler written for Decaf programming language.

Design Process

  • Designed with visitor design pattern and built using flex, bison and llvm framework in cpp.
  • Visitor design pattern is used.
  • This is built as a part of course work for compilers course at IIIT Hyderabad, as a course project. So, the design and implementation are more focused towards learning the principles behind compiler design than practical implications and other production level issues.


  • Contributions are welcome, be it bug fixes or feature additions.
  • If you find a bug please raise a bug at Issue tracker.
  • If you feel like you can improve the compiler by adding new features, please make a pull request here

Licence and Distributing

This project is open source and distributed under MIT licence. Please check the Licence file for more info on how this can be redistributed.

Hemanth Kumar Veeranki