A complete compiler for a simple language (less than 150 LoC of OCaml)
A complete compiler for a simple language (in less than 150 LoC) - 00_readme.md
A complete compiler for a simple language (less than 150 LoC of OCaml) launched on August 23, 2021 with 7 votes, #1,473 of 2,953 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 5 years on.
What it does
Search Gists Search Gists Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} Instantly share code, notes, and snippets. Clone this repository at <script src="https://gist.github.com/p4bl0-/9f4e950e6c06fbba7e168097d89b0e46.js"></script> Save p4bl0-/9f4e950e6c06fbba7e168097d89b0e46 to your computer and use it in GitHub Desktop. Embed Select an option Embed Embed this gist in your website. Share Copy sharable link for this gist. Clone via HTTPS Clone using the web…from gist.github.com
Does a similar job
all alternatives →
A compiler and VM for a simple language, in 150 lines of code2022 · gist.github.com · ▲200A complete compiler for a simple language (in less than 150 LoC) - 00_readme.md
A work-in-progress C compiler from scratch2021 · github.com · ▲159Programming language that compiles into a x86 ELF executable. - riicchhaarrd/ocean
A compiler for a small language into x86-64 assembly2020 · github.com · ▲74Compiler for a small language into x86-64 Assembly - MauriceGit/compiler
How to write a tiny compiler2017 · blog.klipse.tech · ▲224Write your own compiler: introduction. Code genetation. AST. Abstract syntax tree. lisp. javascript.
Ultra Tiny Compiler in less than 90 lines of code2016 · github.com · ▲61Ultra Tiny Compiler. Contribute to antonmedv/ultra-tiny-compiler development by creating an account on GitHub.
- GIGoing into freshman year, figured I should build an interpreter2023 · ▲138
Hi all! I'm going into my freshman year, and figured that the best way to prepare for the intro to programming Racket course would be to implement my own garbage-collected, dynamically typed, functional programming language in C ;) Anyways... here's the repo: https://github.com/liam-ilan/crumb I started learning C over the summer, so I still have a whole lot to learn... Any feedback would be greatly appreciated! :D
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 3d ago · permit.petercai.com
- IV
Life & fun · 15d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 16d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 10d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 14d ago · carrierexplode.com

Life & fun · 24d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, August 2021
the whole month →- II
Hey all My name is Sindre, and I am the CTO of Scrimba (YC S20). For the last 7 years, I have written all my web apps in a full-stack programming language called Imba. It compiles to JavaScript and its main goal is to make web developers more productive. I just launched a major overhaul of Imba, so I wanted to share it here on HN, in case anyone are interested in learning more about it. It is very opinionated, so some of you might not like it, but I would love to hear anyones feedback regardless. Constructive criticism appreciated! The backstory: Imba initially started in 2012 as an effort…
Life & fun · 2021
- WB
Hello HN, Over the last year we've been building ente[1], a privacy-friendly, easy-to-use alternative to Google Photos. We've so far built Android[2][3], iOS[4], web[5] apps that encrypt your files and back them up in the background. You can access these across your devices, and share them with other ente users, end-to-end encrypted. You can also use our electron app[6] to maintain a local copy of your backed up files. We've built a fault-tolerant data replication layer that replicates your data to two different storage providers in the EU. We will be providing additional replicas as an…
Life & fun · 2021



