24 free alternatives to How to write a tiny compiler
Write your own compiler: introduction. Code genetation. AST. Abstract syntax tree. lisp. javascript.
Below are 24 products that do a similar job and cost nothing to start: 23 free outright and 1 with a free plan and paid upgrades. Each price was read from the product's own site. They are ranked by how close each is in meaning, then by launch-day votes.
- 1
My C compiler compiled itselfFree▲275One of the most challenging projects of my life :)
2024 · github.com · price checked November 2026
- 2

With this standalone compiler, you can rely on all Java 11 javac features to be available, even when using newer Java versions. Specifically, this allows you to: - compile code even if your Java environment isn't a full JDK (Java JRE, for example!) - target Java 1.7 for compilation without any warnings or restrictions. - use the Compiler Tree API without resorting to --add-opens trickery that may eventually fail in newer Java releases - build a modified compiler with additional features or custom tweaks I made this after finding that the otherwise superb "jsweet" Java-to-JavaScript…
2023 · github.com · price checked November 2026
- 3
TinyFree▲41A lightweight programming language built with Go.
Jun 2026 · github.com · price checked November 2026
- 4
Xcc700Free▲154Xcc700 is a minimal C compiler written in 700 lines that runs on ESP32 microcontrollers using the Xtensa architecture.
Dec 2025 · github.com · price checked November 2026
- 5

- 6

Investigation into replacing the MES compiler.
Dec 2025 · github.com · price checked November 2026
- 7
Lambda-8ccFree▲249x86 C compiler written in untyped lambda calculus.
2022 · github.com · price checked November 2026
- 8

This is a minimal WebAssembly compiler written in Go that converts WebAssembly text format (WAT) to binary format (WASM).
2022 · github.com · price checked November 2026
- 9

- 10

This is an optimizing C compiler written in Rust that supports a large subset of the C language.
2024 · github.com · price checked November 2026
- 11

Zero-mode C#: C# compiled by a bflat fork into small native programs with no .NET runtime, for Linux, macOS, Windows, WebAssembly and DOS on a 386.
1d ago · onurgumus.github.io · price checked November 2026
- 12

Compiler Backend for LSTS (High-Level Typed Macro Assembler)
2024 · github.com · price checked November 2026
- 13
TinyWasmFree▲172TinyWasm is a WebAssembly runtime interpreter written in Rust that executes WebAssembly code.
2024 · github.com · price checked November 2026
- 14
spellscriptFree▲176SpellScript is an esoteric programming language where code reads like a spellbook.
2025 · github.com · price checked November 2026
- 15
JawsFree▲290Jaws is an open-source ahead-of-time compiler that converts JavaScript code into WebAssembly.
2024 · github.com · price checked November 2026
- 16

goboscript is a text-based programming language which compiles to Scratch. It allows you to write Scratch projects in text, and compile it into a .sb3 file - which can be opened in the Scratch editor, TurboWarp or be uploaded to the Scratch website. goboscript allows you to create advanced Scratch projects with ease, you can use any text editor, use a version control system such as git. You can refactor your code using search and replace. Text code can be copy pasted, which allows you to easily reuse code or share it with others. goboscript syntax is concise and easy to read. goboscript…
2025 · github.com · price checked November 2026
- 17
GeneFree▲36Gene is a general-purpose, homoiconic programming language with Lisp-like syntax built around a unified data structure.
Jan 2026 · github.com · price checked November 2026
- 18
AstraFree▲61Astra is a Node.js to executable compiler designed for building command-line tools and server applications.
2025 · github.com · price checked November 2026
- 19
JavaScript-free (X)HTML IncludesFree▲211JavaScript-free (X)HTML Includes is a templating solution that uses XSLT to reduce boilerplate code on static websites.
2025 · github.com · price checked November 2026
- 20

🛫 Zero-codegen, no-compile TypeScript `type` inference from protobuf `message`s
2025 · github.com · price checked November 2026
- 21
Compiling C in the browser using WebAssemblyFree plan, paid from $1/mo▲174We’ve reached a major milestone in making any software run with WebAssembly. Thanks to the newest release of Wasmer (4.4) and the Wasmer JS SDK (0.8.0) ...
2024 · wasmer.io · price checked November 2026
- 22
Self Hosting C CompilerFree▲5This is my hobby C compiler project.
2022 · github.com · price checked November 2026
- 23

This is a hobby programming language built in Rust that implements pass-by-value semantics throughout.
Jan 2026 · github.com · price checked November 2026
- 24
Compile C to Not GatesFree▲145Compile C to Not Gates is a compiler that translates C programs into FlipJump, an esoteric programming language built on a single operation: flipping a bit and jumping unconditionally.
2025 · github.com · price checked November 2026
All alternatives to How to write a tiny compiler, paid too →About How to write a tiny compiler →
Free means the product’s own site says it is free or offers a free plan, as read on the date shown. Plans change; check the site before you rely on one.