Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / mohit-agarwal / Compiler-for-Decaf-language
Public GitHub Catalog Discovered Oct 5, 2026

mohit-agarwal / Compiler-for-Decaf-language

The aim of the project was to write a compiler for a language called Decaf. Decaf is a simple imperative language similar to C or Pascal. The project involved writing a parser for parsing the source code, using flex and bison, and detecting any errors; Constructing an AST of the given source code, using bison, defining a custom class for each type of node; Generating IR code from each of the nodes in the AST, and then evaluating this IR, using LLVM.

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.

#30700728GitHub System ID
mohit-agarwalOrganization / User
PublicVisibility
ActiveCatalog Status

More from mohit-agarwal

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.