Simple language compiler and VM
gist.github.com · Open source · Online
Compiler and virtual machine for a toy language in 150 lines
- Learning & reference
- Open source
- Day-7 check
- Day-30 check
- compiler
- virtual machine
- language
- example
- simple compiler
- toy language vm
- compiler tutorial
- bytecode vm example
- small language implementatio
- Found
- 4 years ago
This gist contains a compiler and virtual machine for a simple programming language in about 150 lines of code. It shows how a small language can be compiled and run on a virtual machine, which suits readers wanting a compact example of language implementation.
A complete compiler for a simple language (in less than 150 LoC) - 00_readme.md
What it does
- Compiler for a simple programming language in about 150 lines
- Virtual machine that runs the compiled code
- Compact example of language implementation
Good for
- Read through a compact compiler and VM implementation
- Learn how a small language is compiled and run on a VM
- Use it as a teaching reference for language implementation
Suits: Programmers learning how compilers and VMs work.
What you can try
Open the gist and copy the code to run it locally.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw Simple language compiler and VM on , when p4bl0 posted it to Show HN. There is no first-party release record KipFound is allowed to read for this product, so that listing is the earliest dated evidence on file. KipFound does not guess a release date.
Day-7 and day-30 updates
Day 7 still online
- Product link responded normally (HTTP 200).
- Show HN discussion at check time: 200 points, 45 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 still online
- Product link responded normally (HTTP 200).
- Show HN discussion at check time: 200 points, 45 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Found: p4bl0 posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Latest from the maker from the site’s own feed
- Advent of Code
- Pure HTML playable TicTacToe game (no CSS nor JavaScript) in 367KB
- Actual example of PLY use
Quick answers
- When was Simple language compiler and VM released?
- No dated release record is available. Kip found it on Show HN on 16 Jul 2022.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| Product link check | gist.github.com |
Stable ID hn-32121846. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.