jamiebuilds/the-super-tiny-compiler
View on GitHub ↗ ★ 28,550 JavaScript
:snowman: Possibly the smallest compiler ever
23 mentions on Hacker News by 22 people: 6 stories, 17 comments · first 2016-03-31 · latest 2026-06-18
20082026
-
Haven't tried it myself, but there is "the-super-tiny-compiler": https://github.com/jamiebuilds/the-super-tiny-compiler
comment by ursula_gren · 2026-06-18 · in CS 6120: Advanced Compilers: The Self-Guided Online Course (2020) -
You could start here: https://github.com/jamiebuilds/the-super-tiny-compiler That converts from lisp-like to javascript. Really though this is a big field, and there are lots of resources out there. To get started look at your input…
comment by stevekemp · 2023-03-12 · in Ask HN: Guidance on writing a source to source compiler (transpiler) -
You can just link the original file https://github.com/jamiebuilds/the-super-tiny-compiler/blob/...
comment by klohto · 2022-01-29 · in A dynamic tutorial about a compiler in one JavaScript file (2016) -
…may want to have a look at an "MVP" compiler one of such projects is The Super Tiny Compiler[0] [0] https://github.com/jamiebuilds/the-super-tiny-compiler
comment by max_ · 2020-08-20 · in Ask HN: Beginner non-trivial transpiler projects to learn from? -
There is a GitHub project I've used as reference a couple of times, written in JS. https://github.com/jamiebuilds/the-super-tiny-compiler
comment by fallennode · 2020-05-15 · in Ask HN: Online Compiler Courses? -
I laughed at the header in comment at the top of the Super Tiny Compiler here: https://github.com/jamiebuilds/the-super-tiny-compiler/blob/...
comment by john-radio · 2020-02-12 · in A bestiary of single-file implementations of programming languages -
I enjoyed Kyle James' "The Super Tiny Compiler." https://github.com/jamiebuilds/the-super-tiny-compiler
comment by minieggs · 2019-08-04 · in Build Your Own Text Editor -
…I'm the author of this) Vanilla JS series https://javascript30.com/ Super Tiny Compiler https://github.com/jamiebuilds/the-super-tiny-compiler
comment by k2052 · 2018-03-15 · in Ask HN: “Write your own” or “Build your own” software projects -
Wow, excellent work! These are always super interesting to read. A similar project: https://github.com/thejameskyle/the-super-tiny-compiler
comment by prezjordan · 2018-01-21 · in A Simple Compiler in JavaScript -
…team in order to provide a smooth migration path whenever they make changes to the public API. [0] https://github.com/thejameskyle/the-super-tiny-compiler [1] https://github.com/facebook/jscodeshift
comment by TheAceOfHearts · 2017-09-02 · in My first fifteen compilers -
…It's also implemented in JabaScript. It's an amazing learning tool and I really loved reading it! https://github.com/thejameskyle/the-super-tiny-compiler
comment by Joe8Bit · 2016-12-25 · in Ask HN: Recommend an introductory course on compilers -
How long did it take you? The documentation is A+ (it reminds me of this compiler: https://github.com/thejameskyle/the-super-tiny-compiler ).
comment by cagmz · 2016-10-24 · in How to Write a Lisp Interpreter in Python (2010) -
…to see a "real-world" example of it. I actually just read through something similar in JavaScript ( https://github.com/thejameskyle/the-super-tiny-compiler ). I really should give language implementation a shot one of these days (closest…
comment by avolcano · 2016-08-31 · in The Fastest FizzBuzz in the West -
This is also a really good resource: https://github.com/thejameskyle/the-super-tiny-compiler
comment by moretti · 2016-06-29 · in How to implement a programming language in JavaScript -
Its probably a parody of https://github.com/thejameskyle/the-super-tiny-compiler
comment by hyperhopper · 2016-03-31 · in The Super Tiny Interpreter -
I added a separate file without any code comments as well. https://github.com/thejameskyle/the-super-tiny-compiler/blob...
comment by thejameskyle · 2016-03-31 · in Super Tiny Compiler -
…If you're impatient, go straight to the JavaScript code (but the README is worth reading too): https://github.com/thejameskyle/the-super-tiny-compiler/blob... For someone like me who always goes, "Comments? Meh. The code should be the…
comment by Stratoscope · 2016-03-31 · in Super Tiny Compiler