Top
Best
New

Posted by thatxliner 1 day ago

Show HN: Rust but Lisp(github.com)
200 points | 71 commentspage 2
chrisweekly 1 day ago|
Should be named "Rutht"
rbanffy 8 hours ago||
I actually like it better than plain Rust…
amelius 1 day ago||
This is probably what Rust's internal ASTs look like. But why would you want to input programs as ASTs?
physPop 1 day ago|
so you can do the transformations (see the rlisp macro section)
amelius 1 day ago||
Yes, but you could do the same by transforming Rust's ASTs. The only downside is that your input format is different from the format you are transforming. But the upside is that readability is much improved, which matters because code is typically read far more often than it is written.
OhMeadhbh 1 day ago||
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.
stuaxo 1 day ago||
"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.

andrepd 1 day ago|
It's completely nonsensical too. Why would a parser for an alternative syntax introduce a GC?!
NooneAtAll3 1 day ago||
does there exist something that can do the opposite?

some pre-processor that "compiles into rust" from less awful syntax?

jaggederest 1 day ago||
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.

gleenn 1 day ago||
That has definitely not been my experience as of late. I have produced multiple, largeish Clojure projects with AI that have been perfectly formatted and functional. Perhaps you were using an older or possibly smaller model? I am admittedly using Claude with higher end models and mid to high effort but it has been working great for months for me at this point.
jaggederest 1 day ago||
Nope, but to be fair when you're working on your own novel S-exprs you don't have LSPs to guide the coding agent. I imagine that it works a lot better in the context of a known and understood language environment like Clojure, CL, scheme, etc. The other option would be to write an LSP in a non-S-expr language to ensure that no turn can end with mismatched parens, for example.
lycopodiopsida 1 day ago|||
It is absolutely not true, I've vibecoded an app for myself in CL and opus/sonnet had 0 problems with parens and types. Add to it an MCP to work with REPL and it is much more smooth than Go in my experience.
thatxliner 1 day ago|||
If anyone is curious, I've been making this using DeepSeek v4 Flash with Claude Code as the harness
dleslie 1 day ago|||
Opus 4.6 handles elisp just fine. But I suppose YMMV.
2ndorderthought 1 day ago||
Why are we even spending time on this. It's vibe coded slop. The creator probably never even ran it before it got to HN
zareith 1 day ago||
Anyone working on something similar that compiles to go?
eiiot 1 day ago||
> compiles directly to Rust — no runtime, no GC, just (s-expr → .rs → binary).

Can we please write our own READMEs before posting to HN?

nxobject 1 day ago|
"Lust", or "Risp"?
zephen 1 day ago|
Nah.

It's sort of, but not quite, like "El jefe"

"L rut piss"

More comments...