nowfound

Dev tools · alternatives · 2026

24 alternatives to A compiler and VM for a simple language, in 150 lines of code

A complete compiler for a simple language (in less than 150 LoC) - 00_readme.md

This is a compiler and virtual machine implementation for a simple programming language, written in just 150 lines of code. It's designed for developers interested in learning how compilers and VMs work or for those… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. A compiler and VM for a simple language, in 150 lines of code launched in 2022; newer entries below may have overtaken it.

  1. 1

    A complete compiler for a simple language (in less than 150 LoC) - 00_readme.md

    2021 · gist.github.com · its alternatives →

  2. 2

    simple virtual machine and assembler. Contribute to ronsoros/rvm development by creating an account on GitHub.

    2016 · github.com · its alternatives →

  3. 3

    "interesting" VM in C. Let's see how this goes. Contribute to tekknolagi/carp development by creating an account on GitHub.

    2014 · github.com · its alternatives →

  4. 4

    My implementation of Thorsten Bell's book (Writing an Interpreter in Go) - actuallyachraf/monkey-giggle

    2020 · github.com · its alternatives →

  5. 5

    Write your own compiler: introduction. Code genetation. AST. Abstract syntax tree. lisp. javascript.

    2017 · blog.klipse.tech · its alternatives →

  6. 6

    Ultra Tiny Compiler. Contribute to antonmedv/ultra-tiny-compiler development by creating an account on GitHub.

    2016 · github.com · its alternatives →

  7. 7

    Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM. - tinygo-org/tinygo

    2018 · github.com · its alternatives →

  8. 8

    A minimal stack-based VM. Contribute to codr7/liblg development by creating an account on GitHub.

    2020 · github.com · its alternatives →

  9. 9

    Programming language that compiles into a x86 ELF executable. - riicchhaarrd/ocean

    2021 · github.com · its alternatives →

  10. 10

    The Nim programming language is a concise, fast programming language that compiles to C, C++ and JavaScript.

    2016 · nim-lang.org · its alternatives →

  11. 11

    Compiler for a small language into x86-64 Assembly - MauriceGit/compiler

    2020 · github.com · its alternatives →

  12. 12

    VM with JIT-compiler for ATMega32 written in Rust. Contribute to MackieLoeffel/avr-vm development by creating an account on GitHub.

    2017 · github.com · its alternatives →

  13. 13

    A minimalist interpreted language, with a clean object model and a tiny VM. - chameco/Solid

    2013 · github.com · its alternatives →

  14. 14

    Minimal self-hosted JavaScript compiler in 1k lines of code - maierfelix/mini-js

    2017 · github.com · its alternatives →

  15. 15

    A JVM assembler for the modern age. Contribute to roscopeco/jasm development by creating an account on GitHub.

    2022 · github.com · its alternatives →

  16. 16
    Nibble▲102

    An attempt at a single pass LLVM frontend in ~3000 lines of C without external dependencies, malloc, or an AST. Included are some graphical examples. The IR isn't perfect, and the README touches on one particular downfall

    May 2026 · github.com · its alternatives →

  17. 17

    Heap based scheme machine. GitHub Gist: instantly share code, notes, and snippets.

    2025 · gist.github.com · its alternatives →

  18. 18

    I've been working on implementing the compile-time approach to memory management described in this thesis (https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-908.pdf) for some time now - some of the performance results look promising! (Although some less so...) I think it would be great to see this taken further and built into a more complete functional language.

    2020 · github.com · its alternatives →

  19. 19

    Simple, fast, safe, compiled language

    2019 · vlang.io · its alternatives →

  20. 20SH
  21. 21

    A Pascal to LLVM compiler in Haskell . Contribute to sam46/Paskell development by creating an account on GitHub.

    2020 · github.com · its alternatives →

  22. 22

    Readable macroassembler for CLR IL. Contribute to akalenuk/milasm development by creating an account on GitHub.

    2023 · github.com · its alternatives →

  23. 23

    Run your favourite programming languages online

    2019 · mycompiler.io · its alternatives →

  24. 24

    Minimalist, dependency-free virtual machine sandbox for microcontrollers and other resource-constrained devices. Single C file, no dynamic memory allocations, asynchronous design, pure C99 - ringtailsoftware/uvm32

    Dec 2025 · github.com · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →