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 133 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 133 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

42
Emerging
4 llvm-hs/llvm-hs-pretty

Pretty printer for LLVM AST to Textual IR

41
Emerging
5 bytexenon/Tiny-Lua-Compiler

⛄Possibly the smallest Lua compiler ever

39
Emerging
6 iml130/mlir-emitc

Conversions to MLIR EmitC

38
Emerging
7 David-Imperium/Lex-compiler

A declarative, multi-target transpiler for game modding

38
Emerging
8 UbiquityDotNET/Llvm.NET

LLVM Bindings for .NET

37
Emerging
9 Fedjmike/fcc

Fedjmike's C Compiler

36
Emerging
10 llvm-hs/llvm-hs

Haskell bindings for LLVM

36
Emerging
11 BAESY2/bns-lang-

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

35
Emerging
12 Compiler-CampusMinden/Mini-Python-Builder

Mini-Python Builder (Backend)

34
Emerging
13 johnny-shaman/Sign

Sign integrity generic notation

34
Emerging
14 m-zakeri/IUSTCompiler

IUST Compiler Design: Principles, Techniques, and Tools

33
Emerging
15 RemuLang/sijuiacion-lang

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

33
Emerging
16 Compiler-CampusMinden/CPL-Vorlesung-Master

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

32
Emerging
17 ibara/pl0c

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

32
Emerging
18 ademakov/libjit

Unofficial libjit mirror.

31
Emerging
19 Compiler-CampusMinden/CB-Vorlesung-Bachelor

Lecture "Compilerbau" (B.Sc.)

30
Emerging
20 alexfru/regal86

Register Allocator for 8086

28
Experimental
21 Fedjmike/mini-c

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

28
Experimental
22 sph-mn/sph-sc

compiles scheme-like s-expressions to c

28
Experimental
23 J-MR-T/MoNaCo

An MLIR to Native Code generator

28
Experimental
24 HPCguy/Squint

Squint: A peephole optimizer for stack VM compilers

28
Experimental
25 llvm-hs/llvm-hs-typed

Type Safe LLVM IR ( Experimental )

27
Experimental
26 Compiler-CampusMinden/CB-Vorlesung-Bachelor-W25

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

27
Experimental
27 llvm-hs/llvm-hs-quote

Quasiquoter for LLVM

27
Experimental
28 kingfs/ragel-playground

a playground for ragel

26
Experimental
29 aalekhm/BasicCCompiler

A basic C language compiler from scratch.

26
Experimental
30 VanTamNguyen/Nand2Tetris

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

26
Experimental
31 lac-dcc/wyvern

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

26
Experimental
32 linkrope/gamma

Extended Affix Grammar Compiler Generator

25
Experimental
33 ehwan/C-language-Parser-In-Rust

C language lexer & parser & virtual interpreter from scratch

25
Experimental
34 Enna1/remniw

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

25
Experimental
35 AntonioAEMartins/LuaDart-Compiler

The project implements a complete compilation pipeline including...

24
Experimental
36 serjective/aburiscript

A modern C and C++ compiler frontend

24
Experimental
37 axion-lang/Axion

Experimental programming metalanguage, targeting on intertranspiling with...

23
Experimental
38 nokiiaa/NIR

A compiler infrastructure framework

23
Experimental
39 evgenabramov/MIPT-Compilers

🔧 MiniJava language compiler written in C++

23
Experimental
40 hayefmajid/TinyCompiler

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

23
Experimental
41 crguezl/pl-nextra

"Procesadores de Lenguajes" web site. Written in nextra

23
Experimental
42 adrianpi/Jargon

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

23
Experimental
43 AlexSantini10/fool-compiler

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

23
Experimental
44 leonardoarcari/cgen-llvm-ir-generator

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

23
Experimental
45 sauravbhattacharya001/sauravcode

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

23
Experimental
46 AsliRoy/Compiler-Design-Laboratory

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

22
Experimental
47 WillLest/NAND2Tetris

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

22
Experimental
48 netesy/fyra

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

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

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

22
Experimental
50 rayniel95/cool-compiler-jessica-david-rayniel

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

22
Experimental
51 sillycross/PochiVM

Lightweight framework for easy and efficient code generation

22
Experimental
52 myBestProjectAwsome/MINILANG

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

22
Experimental
53 Tristin-Porter/CDTk

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

22
Experimental
54 D-Monkam/toyc-compiler

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

21
Experimental
55 huynhtuandat05december/CSE-PPL

Principles Of Programming Languages-BKU-CS

21
Experimental
56 Vyxal/Jyxal

Terse. Elegant. Readable. Fast.

21
Experimental
57 ellietoulabi/c-like-language-compiler

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

21
Experimental
58 larsbrinkhoff/forth-compiler

Native inlining constant folding register allocating Forth compiler

20
Experimental
59 gaidardzhiev/sh2elf

POSIX shell script to x86_64 ELF compiler

20
Experimental
60 Showndarya/SPCC

System Programming and Compiler Construction programs

20
Experimental
61 balayette/saphIR-project

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

20
Experimental
62 codecodecodesde/C--Compiler

🖥a simple c-like language compiler

19
Experimental
63 notPhani/c2bf-in-RUST

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

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

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

19
Experimental
65 DanielVenturini/VCC

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

18
Experimental
66 BBpezsgo/BBLang

Statically typed, interpreted, high level programming language

18
Experimental
67 akankshan339/javascript-compiler

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

17
Experimental
68 Compiler-CampusMinden/CPL-Vorlesung-Master-W25

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

17
Experimental
69 ciusji/sql_vectorization_compilation

Collection of experiments to carve out the differences between two types of...

16
Experimental
70 Francesco-Zeno-Costanzo/EasyComp

Simple compiler for educational purpose

16
Experimental
71 deepvyas/Compiler-Construction

Toy Compiler for ERPLAG

16
Experimental
72 ivanovishado/Compiler

Minimal compiler

16
Experimental
73 TheRubick/DodaPlusPlusCompiler

DodaPlusPlus Compiler aka Doda++

16
Experimental
74 mr-thearch/flowgorithm-c-template

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

16
Experimental
75 alankarmisra/pyxc-llvm-tutorial

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

15
Experimental
76 TarekMineRoyal/minipascal-compiler

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

15
Experimental
77 CLEARSY/CSSP-Programming-Handbook

The CLEARSY Safety Platform Programming Handbook

15
Experimental
78 NaveenDanj/midnight

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

15
Experimental
79 sjohann81/asgard

Asgard programming language / compiler

15
Experimental
80 enes-kadrii/Compiler-assignment

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

14
Experimental
81 wtlin1228/stanford-compilers-assignments

CS143: Compilers

14
Experimental
82 Maurycyt/LatteC

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

14
Experimental
83 JT2M0L3Y/MyPL

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

14
Experimental
84 emsquared2/Compilers-NTUA

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

14
Experimental
85 estebanghinamo/CompiladorJava

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

14
Experimental
86 RitwikShah22/compiler-design-assignment

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

14
Experimental
87 SoniSiddharth/PythonC-Compiler

Simple Compiler built-in Lex and bison language

14
Experimental
88 UW-PHARM/BitSAD

A domain-specific language for bitstream computing

13
Experimental
89 TarzEH/Mips_Compiler

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

13
Experimental
90 HrishikeshSuchindra/Process-In-Memory-ISA-Compiler

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

13
Experimental
91 AliAtaollahi/Compiler-Course-Projects

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

13
Experimental
92 Deruago/theDeamerProject

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

13
Experimental
93 AlanNunes/Compiler

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

13
Experimental
94 kj3moraes/verCE

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

13
Experimental
95 trexxet/virtaxy-vm

Flexible functional simulator and assembler for user-defined architectures

13
Experimental
96 kotleni/brfkc

Just a brainfuck compiler written in C.

13
Experimental
97 laolarou726/CoolCompiler

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

13
Experimental
98 CarlosLunaMota/CLM_LIBS

A set of useful C libraries in single header file

13
Experimental
99 vanaur/RCL-C

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

13
Experimental
100 jaepil/expressions

A simple script language with the JIT compilation.

12
Experimental
101 MahanBaneshi/Design-Compiler-with-LLVM

Designing a compiler for a defined language

12
Experimental
102 MisaghM/Compiler-Course-Projects

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

12
Experimental
103 MarilenaBatatoudi/Compiler

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

12
Experimental
104 tansly/congenial-elucidator

A compiler for the xpln programming language

11
Experimental
105 Ousmane29-maker/kyr-compiler

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

11
Experimental
106 stakicmarija/mikrojava_compiler

MikroJava compiler implementation

11
Experimental
107 NatalijaBogdanovic/kompajlerMikroJava

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

11
Experimental
108 icxd/llvm-ir

A small C library for generating LLVM IR.

11
Experimental
109 SanaAledilbi/Compiler-Design-C

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

11
Experimental
110 cosmintianu/jmm-compiler

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

11
Experimental
111 ncortiz/Compiler-Test

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

11
Experimental
112 Smile040501/Tiger-Compiler

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

11
Experimental
113 lilkub223/ourpascal-compiler

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

11
Experimental
114 msatula/Code-Compiler-Egg

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

11
Experimental
115 D-TheProgrammer/MISP_compiler

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

11
Experimental
116 PhilipNaveen/Microwave

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

11
Experimental
117 diegohommer/mini-compiler

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

11
Experimental
118 bclindner/bfg

Brainfuck Generator

11
Experimental
119 kim0chi/mini-compiler

A simple educational compiler for a custom mini-language.

11
Experimental
120 AFNeves/JmmCompiler

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

11
Experimental
121 thisisyoussef/PLCProgrammingLanguage

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

11
Experimental
122 hazzaclark/maria

A Lightweight Hitachi SuperH2 Emitter/Generator

11
Experimental
123 rodrigo-sobral/Assignment_2020_COMP

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

11
Experimental
124 AlexandrosPlessias/InstructionSelection-Presentation

Engineering a Compiler - Instruction Selection Presentaion in Greek

10
Experimental
125 blaine-dodson/MPL

Minimum Portable Language

10
Experimental
126 Soumya1698/Compiler-Design-lab

Complier design laboratory

10
Experimental
127 Code-forlife/SPCC-Practicals

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

10
Experimental
128 ron-che-debugger/MiniJava-Compiler

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

10
Experimental
129 uri-nyx/pl0

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

10
Experimental
130 QingQiz/toy-language-in-haskell

compiler using c grammar in haskell

10
Experimental
131 gmelodie/lalgc

Simple compiler implementation for LALG

10
Experimental
132 Jiashuo-Zhang/Compiler-Project

Course Project. PKU Compiler Design. Spring, 2020.

10
Experimental
133 kristiank/MA-thesis

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

10
Experimental