bollu/tiny-optimising-compiler
View on GitHub ↗ ★ 164 Haskell
A tiny *optimising* compiler for an imperative programming language written in haskell
5 mentions on Hacker News by 1 person: 0 stories, 5 comments · first 2017-08-14 · latest 2025-12-10
20082026
-
…tutorial that only explains how to write a middle and back end of a compiler: https://github.com/bollu/tiny-optimising-compiler
comment by bollu · 2025-12-10 · in Revisiting "Let's Build a Compiler" -
…in haskell as a tutorial to explain optimising compiler construction: [Tiny optimising compiler]( https://github.com/bollu/tiny-optimising-compiler )
comment by bollu · 2017-12-01 · in Writing a C Compiler, Part 1 -
…SSA, Scalar evolution, and Register Allocation as a first pass. It's WIP, but [here's the link]( https://github.com/bollu/tiny-optimising-compiler )
comment by bollu · 2017-09-02 · in My first fifteen compilers -
Shameless plug: I've been writing a series that's WIP about writing a tiny optimising compiler - https://github.com/bollu/tiny-optimising-compiler . It tries to model as much as possible, and the aim is to show off the power that modern…
comment by bollu · 2017-08-25 · in How to Write Your Own Compiler (2009) -
I've been writing an llvm-lite in haskell to show of the main optimisation ideas of LLVM [here]( https://github.com/bollu/tiny-optimising-compiler ). Thought someone maybe interested :)
comment by bollu · 2017-08-14 · in An Intro to Compilers