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
☆579May 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,481Jun 6, 2026Updated 5 months ago
- Simple, zero-dependency garbage collection for C☆1,305Aug 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
- A simple, self-hosting C compiler☆996May 21, 2022Updated 4 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- clex is a simple lexer generator☆116Jun 13, 2026Updated 5 months ago
- Small C Compiler generating ELF executable Arm architecture, supporting JIT execution☆1,063Aug 5, 2025Updated last year
- A Small C Compiler☆1,955Nov 28, 2020Updated 5 years ago
- Simple C compiler☆1,582Dec 22, 2024Updated last year
- small self hosting C compiler☆498Oct 21, 2021Updated 5 years ago
- A Small C Compiler☆6,428May 2, 2024Updated 2 years ago
- A small C compiler☆11,986Oct 30, 2023Updated 3 years ago
- A minimal stack-based VM☆181Sep 10, 2020Updated 6 years ago
- Sort Algorithm General Implementations in C Language☆168Aug 10, 2020Updated 6 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- A hackable and extensible lexer, parser and interpreter for a minimalistic, imperative, C-like language.☆155Oct 1, 2020Updated 6 years ago
- simple java virtual machine☆267Nov 2, 2021Updated 5 years ago
- A tiny x86 compiler with ELF and PE target☆180Dec 30, 2023Updated 2 years ago
- C compiler (mirror)☆856Jun 2, 2026Updated 5 months 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,535Updated this week
- A Tiny Garbage Collector for C☆1,109Jun 26, 2023Updated 3 years ago
- A tiny programming language that transpiles to C, C++, Java, TypeScript, Python, C#, Swift, Lua and WebAssembly 🚀☆858Mar 3, 2025Updated last year
- subset c compiler☆37Jul 12, 2026Updated 4 months ago
- C in four functions☆10,829Dec 26, 2023Updated 2 years ago
- 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.
- bootOS is a monolithic operating system in 512 bytes of x86 machine code.☆2,162Sep 24, 2026Updated last month
- Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours☆535Apr 15, 2022Updated 4 years ago
- 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…☆451May 18, 2026Updated 6 months ago
- All-inclusive Buffer for C☆414Nov 16, 2023Updated 3 years ago
- A simple way to write standalone C programs for i386☆270Feb 22, 2026Updated 8 months ago
- Parser, code model, interpreter and navigable browser for the original Xerox Smalltalk-80 v2 sources and virtual image file☆325Jul 19, 2025Updated last year
- A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR☆2,677Oct 23, 2026Updated 3 weeks ago
- Platform independent low-level JIT compiler☆1,143Nov 7, 2026Updated last week
- A tiny hand crafted CPU emulator, C compiler, and Operating System☆1,120Dec 16, 2020Updated 5 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- A set of minimal dependency bootstrap binaries☆1,082Jun 17, 2026Updated 5 months ago
- TinyVM is a small, fast, lightweight virtual machine written in pure ANSI C.☆3,330Mar 23, 2019Updated 7 years ago
- Single header library for writing non-blocking HTTP servers in C☆1,946Apr 26, 2026Updated 6 months ago
- Never: statically typed, embeddable functional programming language.☆460May 12, 2024Updated 2 years ago
- A small, easily embedded language implemented in a single .c file☆311Sep 7, 2023Updated 3 years ago
- A VM That is Dynamic and Fast☆1,673Nov 5, 2026Updated 2 weeks ago
- Q3VM - Single file (vm.c) bytecode virtual machine/interpreter for C-language input☆955Mar 6, 2026Updated 8 months ago
Are these results useful?