Slisp: Simple Lisp compiler (Linux/amd64)
stevekemp
62 points
3 comments
June 26, 2026
Related Discussions
Found 5 related stories in 904.4ms across 14,015 title embeddings via pgvector HNSW
- Slimcc: C23 compiler with C2y/GNU extensions for x86-64 Linux/BSD, written in C9 fanf2 · 11 pts · May 25, 2026 · 62% similar
- Self-contained Linux applications with lone Lisp fanf2 · 28 pts · May 14, 2026 · 57% similar
- Wisp: WebAssembly Lisp DavidCanHelp · 15 pts · March 30, 2026 · 56% similar
- Lisp in Vim (2019) whent · 54 pts · May 23, 2026 · 55% similar
- Lisp in the Rust Type System quasigloam · 33 pts · June 20, 2026 · 55% similar
Discussion Highlights (2 comments)
stevekemp
Hacker News always likes lisp stuff, and even though this is a very simple compiler I had a lot of fun writing it. I started writing a different compiler, but tied myself in knots with the type-encoding, and lack of clear plan. I figured I'd step back and try a lisp, because there's a known syntax, and it is minimal. The end result supports lists, integers, strings, characters, lambdas (with closures), and a reasonable standard library - big enough to hack up a small brainfuck interpreter along with the standard fibonacci, factorial, and fizzbuzz toy programs. So it's a toy, but it's my toy, and maybe interesting to some!
krylon
Just as I was thinking to myself that it might be fun to play around with Lisp again, this shows up in my news ticker. Coincidence?