Show HN: Rust but Lisp
thatxliner
113 points
59 comments
May 09, 2026
Related Discussions
Found 5 related stories in 89.5ms across 8,303 title embeddings via pgvector HNSW
- Show HN: TRUST – Coding Rust like it's 1989 wojtczyk · 132 pts · May 07, 2026 · 71% similar
- Show HN: Han – A Korean programming language written in Rust xodn348 · 141 pts · March 14, 2026 · 70% similar
- Lisette a little language inspired by Rust that compiles to Go jspdown · 257 pts · April 05, 2026 · 67% similar
- Show HN: An implementation of Common Lisp in development, reached version 1.6 andreamonaco · 27 pts · May 12, 2026 · 67% similar
- Show HN: Julius, a New Lisp Implementation tgflynn · 12 pts · May 03, 2026 · 66% similar
Discussion Highlights (19 comments)
FrankWilhoit
And for why?
GalaxyNova
It seems like this is more like writing Rust in an s-expression syntax instead of having a proper lisp dialect that compiles to Rust, which is cool I guess but not very interesting. It's quite weird-looking for someone who's done any amount of lisp programming.
hawkice
I think some comments are missing the upside of it being precisely Rust, without any new semantics. If you want lisp that compiles to machine code, Common Lisp can get reasonably efficient. The purpose of bringing Rust into it is to surface Rust-specific semantics -- which many people quite like!
stuaxo
"no runtime, no GC, just" I am BEGGING every project to not have this LLMism in their docs. It reads as No X no Y just slop to me every time.
vermilingua
Claims to have all the syntax covered, but not a single example of specifying lifetimes or the turbofish, some of the trickiest rust syntax
jaggederest
Unfortunately, given the clear LLM basis of this project, s-expressions aren't a great choice. I've found coding agents struggle really hard with s-expression parentheses matching. Much better to give them something more M-expr styled, I think a grammar that is LL(1) is probably helpful in that regard. Basically the more you can piggyback on the training data depth for algol-style and pythonic languages the better.
amelius
This is probably what Rust's internal ASTs look like. But why would you want to input programs as ASTs?
ecto
Readers may enjoy my lisp, Loon, which takes heavy inspiration from Rust https://loonlang.com/guide/ownership
OhMeadhbh
How do you change the syntax to eliminate reverse compatibility? I guess you could change the names of most key functions between releases. But to be compatible with rust you would need to make breaking changes every release.
nxobject
"Lust", or "Risp"?
slopinthebag
How is pure unbridled AI slop like this making the front page? Voting rings? I don't even feel bad saying this because clearly OP is just the front for Claude here.
moron4hire
I don't understand why this had to be LLM generated. S-expression syntax parsers are not hard to write. That's rather much the point of S-expressions.
skulk
So if I wanted to actually use this and I write some rust-but-lisp code and there's a compile error, will it show me a nice error message with an arrow pointing to where the error happened in my lisp code? Can I use the amazing `rust-analyzer` LSP to get cool IDE features? I suspect the answer is no, but these might be good further prompts to use.
eiiot
> compiles directly to Rust — no runtime, no GC, just (s-expr → .rs → binary). Can we please write our own READMEs before posting to HN?
stevefan1999
Greenspun's tenth rule of programming is an aphorism in computer programming and especially programming language circles that states:[1][2] Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp. Maybe we should one day include Golang or Rust to it https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
thatxliner
For everyone who is shaming on the project for "not implementing enough," then you can definitely help me with it. For everyone who is shaming on the project for being "LLM slop," sure but that's the reason why something like this can exist in the first place. The point isn't to be a finished, production-ready product. The point is to be an interesting work, and just a sly bit silly
chrisweekly
Should be named "Rutht"
NooneAtAll3
does there exist something that can do the opposite? some pre-processor that "compiles into rust" from less awful syntax?
zareith
Anyone working on something similar that compiles to go?