This is probably what Rust's internal ASTs look like. But why would you want to input programs as ASTs?
Show HN: Rust but Lisp
21–30 of 79 posts
Re: Show HN: Rust but Lisp
#22This is probably what Rust's internal ASTs look like. But why would you want to input programs as ASTs?
so you can do the transformations (see the rlisp macro section)
Re: Show HN: Rust but Lisp
#23Re: Show HN: Rust but Lisp
#24Re: Show HN: Rust but Lisp
#25Re: Show HN: Rust but Lisp
#26Unfortunately, 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.
Re: Show HN: Rust but Lisp
#27Unfortunately, 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.
Re: Show HN: Rust but Lisp
#28Unfortunately, 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.
Re: Show HN: Rust but Lisp
#29I don't even feel bad saying this because clearly OP is just the front for Claude here.
Re: Show HN: Rust but Lisp
#30I 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!
[flagged]