A tiny compiler for a language featuring LL(2) grammar. With Lexer, Parser, ASM-like codegen and VM. Complex enough to give you a flavour of how the "real" thing works whilst not being a mere toy example
☆580May 11, 2025Updated last year
Alternatives and similar repositories for tiny-compiler
Users that are interested in tiny-compiler are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- A Compiler Writing Journey☆13,466Jun 6, 2026Updated 4 months ago
- Minecraft-like OpenGL world renderer based on diamond-square algorithm.☆22Feb 21, 2021Updated 5 years ago
- Simple, zero-dependency garbage collection for C☆1,308Aug 4, 2024Updated 2 years ago
- A tiny, embeddable language implemented in ANSI C☆1,514Jul 4, 2024Updated 2 years ago
- A minimalist C compiler with x86_64 code generation☆538Oct 9, 2020Updated 6 years ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Bootstrap compiler☆44May 14, 2019Updated 7 years ago
- clex is a simple lexer generator☆116Jun 13, 2026Updated 4 months ago
- A simple, self-hosting C compiler☆994May 21, 2022Updated 4 years ago
- Small C Compiler generating ELF executable Arm architecture, supporting JIT execution☆1,062Aug 5, 2025Updated last year
- Simple C compiler☆1,580Dec 22, 2024Updated last year
- A Small C Compiler☆6,428May 2, 2024Updated 2 years ago
- A Small C Compiler☆1,954Nov 28, 2020Updated 5 years ago
- small self hosting C compiler☆499Oct 21, 2021Updated 5 years ago
- A small C compiler☆11,959Oct 30, 2023Updated 2 years ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- A minimal stack-based VM☆181Sep 10, 2020Updated 6 years ago
- Sort Algorithm General Implementations in C Language☆168Aug 10, 2020Updated 6 years ago
- A hackable and extensible lexer, parser and interpreter for a minimalistic, imperative, C-like language.☆155Oct 1, 2020Updated 6 years ago
- C compiler (mirror)☆854Jun 2, 2026Updated 4 months ago
- simple java virtual machine☆267Nov 2, 2021Updated 4 years ago
- A Tiny Garbage Collector for C☆1,107Jun 26, 2023Updated 3 years ago
- An educational software system of a tiny self-compiling C compiler, a tiny self-executing RISC-V emulator, and a tiny self-hosting RISC-V…☆2,533Updated this week
- C in four functions☆10,822Dec 26, 2023Updated 2 years ago
- A tiny programming language that transpiles to C, C++, Java, TypeScript, Python, C#, Swift, Lua and WebAssembly 🚀☆856Mar 3, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- subset c compiler☆37Jul 12, 2026Updated 3 months ago
- A tiny x86 compiler with ELF and PE target☆180Dec 30, 2023Updated 2 years ago
- bootOS is a monolithic operating system in 512 bytes of x86 machine code.☆2,151Sep 24, 2026Updated last month
- Platform independent low-level JIT compiler☆1,133Sep 30, 2026Updated last month
- Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours☆535Apr 15, 2022Updated 4 years ago
- A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR☆2,668Updated this week
- A top-down 2d game engine, written from scratch in under 1000 lines of C. Development of the game based on this engine is streamed on Twi…☆450May 18, 2026Updated 5 months ago
- All-inclusive Buffer for C☆414Nov 16, 2023Updated 2 years ago
- A set of minimal dependency bootstrap binaries☆1,065Jun 17, 2026Updated 4 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- a simple tiny C Compiler using Lex & Yacc☆94Sep 21, 2025Updated last year
- Parser, code model, interpreter and navigable browser for the original Xerox Smalltalk-80 v2 sources and virtual image file☆321Jul 19, 2025Updated last year
- A small, easily embedded language implemented in a single .c file☆310Sep 7, 2023Updated 3 years ago
- A simple way to write standalone C programs for i386☆270Feb 22, 2026Updated 8 months ago
- A tiny hand crafted CPU emulator, C compiler, and Operating System☆1,121Dec 16, 2020Updated 5 years ago
- Q3VM - Single file (vm.c) bytecode virtual machine/interpreter for C-language input☆954Mar 6, 2026Updated 7 months ago
- TinyVM is a small, fast, lightweight virtual machine written in pure ANSI C.☆3,327Mar 23, 2019Updated 7 years ago