zakirullin / tiny-compilerLinks
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
☆568Updated last month
Alternatives and similar repositories for tiny-compiler
Users that are interested in tiny-compiler are comparing it to the libraries listed below
Sorting:
- A C & x86 version of the "Let's Build a Compiler" by Jack Crenshaw☆522Updated 6 years ago
- Simple, zero-dependency garbage collection for C☆1,255Updated 10 months ago
- A tiny, embeddable language implemented in ANSI C☆1,361Updated 11 months ago
- A simple, self-hosting C compiler☆954Updated 3 years ago
- A Tiny Garbage Collector for C☆999Updated last year
- Simple C compiler☆1,489Updated 6 months ago
- hobby x86 kernel zig☆431Updated last year
- A Bestiary of Single-File Implementations of Programming Languages☆1,019Updated last month
- A tiny hand crafted CPU emulator, C compiler, and Operating System☆1,103Updated 4 years ago
- C11 compiler (mirror)☆772Updated 4 months ago
- Simple virtual machine which interprets bytecode.☆474Updated 2 years ago
- Simple compiler frontend using LLVM as backend☆236Updated 6 years ago
- A Simple Unix-like operating system☆938Updated last week
- small self hosting C compiler☆480Updated 3 years ago
- A minimal stack-based VM☆182Updated 4 years ago
- Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours☆525Updated 3 years ago
- A compiler for a tiny (but growing!) subset of C, written in OCaml.☆290Updated 2 years ago
- Q3VM - Single file (vm.c) bytecode virtual machine/interpreter for C-language input☆895Updated 10 months ago
- How to write a very simple JIT compiler☆1,859Updated 4 years ago
- Modern low-level programming language☆779Updated last year
- x86 JIT compiler in 86 lines☆961Updated 9 years ago
- A hackable and extensible lexer, parser and interpreter for a minimalistic, imperative, C-like language.☆153Updated 4 years ago
- A simple way to write standalone C programs for i386☆256Updated last year
- The best C-like language that can be implemented in 10kLOC.☆621Updated this week
- How to write a UNIX shell, with a lot of background☆350Updated 8 years ago
- A pretty simple Operating System for my High School Project☆179Updated 7 years ago
- A sunny little virtual machine☆525Updated 9 years ago
- sectorforth is a 16-bit x86 Forth that fits in a 512-byte boot sector.☆431Updated 3 years ago
- Source code for the book Compiling to Assembly from Scratch https://keleshev.com/cas☆328Updated last month
- Programming language that compiles into a x86 ELF executable.☆169Updated 2 years ago