Compiler Implementation Tutorials AI Coding Tools

Educational compiler projects and learning implementations for custom/esoteric languages, including lexers, parsers, and code generators. Does NOT include production compiler infrastructure (LLVM, MLIR bindings) or code generation frameworks used by other tools.

There are 152 compiler implementation tutorials tools tracked. 2 score above 50 (established tier). The highest-rated is javaparser/javaparser at 67/100 with 6,060 stars. 2 of the top 10 are actively maintained.

Get all 152 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ai-coding&subcategory=compiler-implementation-tutorials&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Tool Score Tier
1 javaparser/javaparser

Java 1-25 Parser and Abstract Syntax Tree for Java with advanced analysis...

67
Established
2 asmjit/asmjit

Low-latency machine code generation

63
Established
3 lioncash/biscuit

A runtime code generator for RISC-V

49
Emerging
4 llvm-hs/llvm-hs-pretty

Pretty printer for LLVM AST to Textual IR

48
Emerging
5 bytexenon/Tiny-Lua-Compiler

⛄Possibly the smallest Lua compiler ever

46
Emerging
6 iml130/mlir-emitc

Conversions to MLIR EmitC

45
Emerging
7 UbiquityDotNET/Llvm.NET

LLVM Bindings for .NET

44
Emerging
8 Fedjmike/fcc

Fedjmike's C Compiler

43
Emerging
9 llvm-hs/llvm-hs

Haskell bindings for LLVM

43
Emerging
10 Compiler-CampusMinden/Mini-Python-Builder

Mini-Python Builder (Backend)

41
Emerging
11 m-zakeri/IUSTCompiler

IUST Compiler Design: Principles, Techniques, and Tools

40
Emerging
12 ibara/pl0c

Self-hosting PL/0 to C compiler to teach basic compiler construction from a...

39
Emerging
13 Compiler-CampusMinden/CPL-Vorlesung-Master

Lecture "Concepts of Programming Languages" (M.Sc.)

39
Emerging
14 johnny-shaman/Sign

Sign integrity generic notation

38
Emerging
15 ademakov/libjit

Unofficial libjit mirror.

38
Emerging
16 Compiler-CampusMinden/CB-Vorlesung-Bachelor

Lecture "Compilerbau" (B.Sc.)

37
Emerging
17 David-Imperium/Lex-compiler

A declarative, multi-target transpiler for game modding

37
Emerging
18 RemuLang/sijuiacion-lang

An IR for Python VM, provided with indirect jump instructions.

36
Emerging
19 sph-mn/sph-sc

compiles scheme-like s-expressions to c

35
Emerging
20 HPCguy/Squint

Squint: A peephole optimizer for stack VM compilers

35
Emerging
21 J-MR-T/MoNaCo

An MLIR to Native Code generator

35
Emerging
22 alexfru/regal86

Register Allocator for 8086

35
Emerging
23 Fedjmike/mini-c

Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours

35
Emerging
24 llvm-hs/llvm-hs-quote

Quasiquoter for LLVM

34
Emerging
25 llvm-hs/llvm-hs-typed

Type Safe LLVM IR ( Experimental )

34
Emerging
26 BAESY2/bns-lang-

Write PLC ladder logic with just a numpad. IEC 61131-3 DSL + MCP for Cursor.

34
Emerging
27 Compiler-CampusMinden/CB-Vorlesung-Bachelor-W25

Lecture "Compilerbau" (B.Sc.) (Winter 2025/26)

33
Emerging
28 aalekhm/BasicCCompiler

A basic C language compiler from scratch.

33
Emerging
29 kingfs/ragel-playground

a playground for ragel

33
Emerging
30 VanTamNguyen/Nand2Tetris

Nand2Tetris: Build a computer system from the ground up, from nand to...

33
Emerging
31 lac-dcc/wyvern

Automatic conversion of call by value into call by need in the LLVM IR.

33
Emerging
32 ehwan/C-language-Parser-In-Rust

C language lexer & parser & virtual interpreter from scratch

32
Emerging
33 Enna1/remniw

Yet Another Toy Compiler from REMNIW(a toy language) to X64 and RISC-V assembly

32
Emerging
34 linkrope/gamma

Extended Affix Grammar Compiler Generator

32
Emerging
35 AntonioAEMartins/LuaDart-Compiler

The project implements a complete compilation pipeline including...

31
Emerging
36 nokiiaa/NIR

A compiler infrastructure framework

30
Emerging
37 evgenabramov/MIPT-Compilers

🔧 MiniJava language compiler written in C++

30
Emerging
38 sauravbhattacharya001/sauravcode

Frustrated by syntax-heavy languages, I designed *sauravcode* for simplicity...

30
Emerging
39 leonardoarcari/cgen-llvm-ir-generator

CGEN LLVM-IR is a generator of binary-to-LLVM-IR translators. Just provide...

30
Emerging
40 crguezl/pl-nextra

"Procesadores de Lenguajes" web site. Written in nextra

30
Emerging
41 axion-lang/Axion

Experimental programming metalanguage, targeting on intertranspiling with...

30
Emerging
42 AsliRoy/Compiler-Design-Laboratory

These are the various assignments that were done as a part of the Compiler...

29
Experimental
43 rayniel95/cool-compiler-jessica-david-rayniel

cool-compiler-jessica-david-rayniel created by GitHub Classroom

29
Experimental
44 sillycross/PochiVM

Lightweight framework for easy and efficient code generation

29
Experimental
45 Vyxal/Jyxal

Terse. Elegant. Readable. Fast.

28
Experimental
46 ellietoulabi/c-like-language-compiler

Flex-Bison based lexer/parser/code generator implementation for C-like language

28
Experimental
47 huynhtuandat05december/CSE-PPL

Principles Of Programming Languages-BKU-CS

28
Experimental
48 larsbrinkhoff/forth-compiler

Native inlining constant folding register allocating Forth compiler

27
Experimental
49 Showndarya/SPCC

System Programming and Compiler Construction programs

27
Experimental
50 balayette/saphIR-project

saphIR is an Intermediate Representation with amd64 and arm64 backends. Also...

27
Experimental
51 codecodecodesde/C--Compiler

🖥a simple c-like language compiler

26
Experimental
52 AlexSantini10/fool-compiler

Compiler for the FOOL language developed for the course Linguaggi...

25
Experimental
53 DanielVenturini/VCC

Colossal compiler to T++ language with the better memory manager to the...

25
Experimental
54 serjective/aburiscript

A modern C and C++ compiler frontend

24
Experimental
55 D-Monkam/toyc-compiler

A C++ compiler that translates custom syntax into optimized LLVM IR and...

23
Experimental
56 adrianpi/Jargon

Jargon is a self-hosting compiled programming language that targets LLVM IR...

23
Experimental
57 hayefmajid/TinyCompiler

A compiler written in C# supporting HASM (Hayef Assembly) — generates...

23
Experimental
58 TheRubick/DodaPlusPlusCompiler

DodaPlusPlus Compiler aka Doda++

23
Experimental
59 Compiler-CampusMinden/CPL-Vorlesung-Master-W25

Lecture "Concepts of Programming Languages" (M.Sc.) (Winter 2025/26)

23
Experimental
60 akankshan339/javascript-compiler

This project is a simple JavaScript compiler that allows users to input...

23
Experimental
61 ivanovishado/Compiler

Minimal compiler

23
Experimental
62 deepvyas/Compiler-Construction

Toy Compiler for ERPLAG

23
Experimental
63 Francesco-Zeno-Costanzo/EasyComp

Simple compiler for educational purpose

23
Experimental
64 WillLest/NAND2Tetris

💻 Build a computer from NAND gates to a functional CPU, exploring the...

22
Experimental
65 netesy/fyra

Multi-target C++17 compiler backend with SSA optimization pipeline and...

22
Experimental
66 hanu-tayal/csharp-compiler-rust

C# compiler written in Rust — lexer, recursive descent parser, semantic...

22
Experimental
67 sjohann81/asgard

Asgard programming language / compiler

22
Experimental
68 myBestProjectAwsome/MINILANG

Educational compiler with dual C/LLVM backends and compile-time overflow detection

22
Experimental
69 Tristin-Porter/CDTk

CDTk (Compiler Description Toolkit) is a unified framework for building...

22
Experimental
70 gaidardzhiev/sh2elf

POSIX shell script to x86_64 ELF compiler

22
Experimental
71 CLEARSY/CSSP-Programming-Handbook

The CLEARSY Safety Platform Programming Handbook

22
Experimental
72 TarekMineRoyal/minipascal-compiler

End-to-end compiler for MiniPascal, a simplified Pascal language. Built with...

21
Experimental
73 wtlin1228/stanford-compilers-assignments

CS143: Compilers

21
Experimental
74 notPhani/c2bf-in-RUST

A C-to-Brainfuck meme compiler in Rust with hand-rolled Pratt parser,...

21
Experimental
75 SoniSiddharth/PythonC-Compiler

Simple Compiler built-in Lex and bison language

21
Experimental
76 JT2M0L3Y/MyPL

Programming language designed for the purpose of studying compilation and...

21
Experimental
77 emsquared2/Compilers-NTUA

Project-Assignment for Compilers at ECE NTUA - Compiler for the Grace...

21
Experimental
78 mr-thearch/flowgorithm-c-template

Unofficial Flowgorithm language template for the C programming language....

20
Experimental
79 CarlosLunaMota/CLM_LIBS

A set of useful C libraries in single header file

20
Experimental
80 trexxet/virtaxy-vm

Flexible functional simulator and assembler for user-defined architectures

20
Experimental
81 laolarou726/CoolCompiler

Stanford CS1/CS143 Compilers Course Project for COOL (Classroom...

20
Experimental
82 UW-PHARM/BitSAD

A domain-specific language for bitstream computing

20
Experimental
83 Deruago/theDeamerProject

Deamer is an infrastructure for Compiler and Ecosystem generation. It uses...

20
Experimental
84 kj3moraes/verCE

A language frontend I built with LLVM to test out new compiler techniques

20
Experimental
85 AliAtaollahi/Compiler-Course-Projects

UT Trade Compiler: Projects for the Design Compiler Course at the University...

20
Experimental
86 TarzEH/Mips_Compiler

Compiler that translates Pascal source code into MIPS assembly — lexical...

20
Experimental
87 kotleni/brfkc

Just a brainfuck compiler written in C.

20
Experimental
88 AlanNunes/Compiler

This Is a Programming Language (Alanus). It's the first compiler I wrote for...

20
Experimental
89 vanaur/RCL-C

The RCL (Runtime Core Library) project aims to be a library for program...

20
Experimental
90 jaepil/expressions

A simple script language with the JIT compilation.

19
Experimental
91 HrishikeshSuchindra/Process-In-Memory-ISA-Compiler

📦 PIM Compiler A lightweight compiler for a custom 24-bit...

19
Experimental
92 william-dan/SysY2022-ARMv7-Compiler

An optimizing compiler for the SysY2022 language that targets 32-bit ARMv7...

19
Experimental
93 icxd/llvm-ir

A small C library for generating LLVM IR.

18
Experimental
94 BBpezsgo/BBLang

Statically typed, interpreted, high level programming language

18
Experimental
95 ncortiz/Compiler-Test

ONLY KEPT FOR ARTIC CODE VAULT ACHIEVEMENT CODE IS A MESS / C-like...

18
Experimental
96 Smile040501/Tiger-Compiler

The SubTiger language is the subset of the Tiger language. Currently, the...

18
Experimental
97 tansly/congenial-elucidator

A compiler for the xpln programming language

18
Experimental
98 Code-forlife/SPCC-Practicals

This repo offers 10 labs to learn compiler design, covering lexers, parsers,...

17
Experimental
99 blaine-dodson/MPL

Minimum Portable Language

17
Experimental
100 NaveenDanj/midnight

Midnight is an experimental programming language written in Zig. The project...

17
Experimental
101 Jiashuo-Zhang/Compiler-Project

Course Project. PKU Compiler Design. Spring, 2020.

17
Experimental
102 alankarmisra/pyxc-llvm-tutorial

Build a Python-inspired language from scratch with LLVM: lexer, parser, AST,...

17
Experimental
103 AlexandrosPlessias/InstructionSelection-Presentation

Engineering a Compiler - Instruction Selection Presentaion in Greek

17
Experimental
104 ron-che-debugger/MiniJava-Compiler

A lightweight toolchain to compile Mini-Java source program into MIPS assembly.

17
Experimental
105 Soumya1698/Compiler-Design-lab

Complier design laboratory

17
Experimental
106 uri-nyx/pl0

Simple PL/0 compiler with recursive descent parser, and code generation on the fly.

17
Experimental
107 kristiank/MA-thesis

Ekstraktmorfoloogia meetodiga tuletatud keeletehnoloogia vadja sõnavara näitel (2019)

17
Experimental
108 QingQiz/toy-language-in-haskell

compiler using c grammar in haskell

17
Experimental
109 MahanBaneshi/Design-Compiler-with-LLVM

Designing a compiler for a defined language

16
Experimental
110 Maurycyt/LatteC

A compiler of a fairly simple Turing complete Java-like language to LLVM.

14
Experimental
111 enes-kadrii/Compiler-assignment

📊 Present compiler design concepts through an engaging PowerPoint,...

14
Experimental
112 RitwikShah22/compiler-design-assignment

🖥️ Explore compiler design concepts through practical assignments,...

14
Experimental
113 estebanghinamo/CompiladorJava

Compilador desarrollado en Java con ANTLR4 que implementa análisis léxico,...

14
Experimental
114 akshdeepsingh7/SimpleLang

A minimalist, human-readable programming language that compiles to Go

12
Experimental
115 MarilenaBatatoudi/Compiler

MiniLang compiler in C++: Stage 1: Lexical Analyzer, Stage 2: Parser (Parser...

12
Experimental
116 Iquiji/jankcc

A WIP minimal C Compiler written in Rust 🦀

12
Experimental
117 vaquierm/GoLite_Transpiler

💻 Transpiler written in OCaml that that converts a subset of golang to C++

12
Experimental
118 MisaghM/Compiler-Course-Projects

A compiler written using ANTLR with Java for the programming language LogicPL.

12
Experimental
119 ramonmeza/Compiler

Trying to make a little compiler, just for fun and learning.

12
Experimental
120 kalhorghazal/C--Compiler

👩‍💻C-- Compiler, Programming Languages and Compiler Design, University of Tehran

12
Experimental
121 zhliuworks/seal-compiler

:hammer_and_wrench: Course Design of Compiler Principles (SJTU-IS203)

12
Experimental
122 joeyvanlierop/golf

A simple compiler for a programming language called GoLF ⛳

12
Experimental
123 Ousmane29-maker/kyr-compiler

A tiny compiler for KYR mini-language built in Java that outputs MIPS assembly code

11
Experimental
124 RyanTomich/photonic_compiler

compilation with optimization and code generation that can take neural...

11
Experimental
125 stakicmarija/mikrojava_compiler

MikroJava compiler implementation

11
Experimental
126 carloblasi/OB-LA-DI

Compiler for the OB-LA-DI programming language, written in Scala.

11
Experimental
127 vincent10400094/c--compiler

C-- compiler implementation for the course "CSIE3230 Introduction to...

11
Experimental
128 cosmintianu/jmm-compiler

A complete compiler for Java-- (JMM), a simplified Java subset. Implements...

11
Experimental
129 SanaAledilbi/Compiler-Design-C

Multi-phase compiler in C: lexical analysis, parsing, symbol tables,...

11
Experimental
130 GaiShukrun/C-Like-Compiler

🚀 Sophisticated C-like compiler translating source code to optimized...

11
Experimental
131 ItayGet/icc

ICC - Itay's C Compiler

11
Experimental
132 D-TheProgrammer/MISP_compiler

[French] Compilateur Misp qui traduit et interprète une langue [English]...

11
Experimental
133 msatula/Code-Compiler-Egg

Code compiler that translates C into assembly language, written in Java

11
Experimental
134 lilkub223/ourpascal-compiler

A Java-based compiler for a Pascal-like language featuring recursive-descent...

11
Experimental
135 PhilipNaveen/Microwave

A simple script compiler for a custom esoteric programming language I created.

11
Experimental
136 diegohommer/mini-compiler

A simple compiler developed as part of the Compilers course at UFRGS. It...

11
Experimental
137 bclindner/bfg

Brainfuck Generator

11
Experimental
138 kim0chi/mini-compiler

A simple educational compiler for a custom mini-language.

11
Experimental
139 NatalijaBogdanovic/kompajlerMikroJava

Cilj projektnog zadatka je realizacija kompajlera za programski jezik...

11
Experimental
140 AFNeves/JmmCompiler

A Java-- to Jasmin compiler with ANTLR-based grammar, AST translation,...

11
Experimental
141 thisisyoussef/PLCProgrammingLanguage

Full programming language compiler: lexer → parser → AST → type checker →...

11
Experimental
142 hazzaclark/maria

A Lightweight Hitachi SuperH2 Emitter/Generator

11
Experimental
143 rodrigo-sobral/Assignment_2020_COMP

Compilers' assignment of a programming language named UC using Lex, Yacc, LLVM and C.

11
Experimental
144 andstor/master-thesis

📄 My Master's Thesis in Computer Science, written at the Norwegian...

10
Experimental
145 adityatripathiiit/SeeSPIM-Compiler

This project implements a Compiler for a language similar to C. The Compiler...

10
Experimental
146 lironmiz/nand2tetrisCourse

acadamic course in campus il about building a modern computer from basic...

10
Experimental
147 anachrocomputer/Parser

Simple lexical analyser and parser

10
Experimental
148 byx2000/ByxScript

C++编写的简单脚本语言

10
Experimental
149 gmelodie/lalgc

Simple compiler implementation for LALG

10
Experimental
150 Circiter/infix-compiler-in-sed

An experimental compiler for arithmetical expressions. With machine code generation.

10
Experimental
151 paveon/IFJ-FreeBasic-Compiler

[BUT FIT] IFJ course project - FreeBasic compiler

10
Experimental
152 aman1372004/Mini-C-Compiler

Mini compiler for a subset of C language built as Compiler Design PBL Project

10
Experimental