[HN Gopher] Lisp implemented in Rust macros
___________________________________________________________________
Lisp implemented in Rust macros
Author : quasigloam
Score : 54 points
Date : 2024-09-13 21:31 UTC (1 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| gleenn wrote:
| I wish there was a well-supported Lisp in Rust, not just the
| macros. I wonder how much memory safety you would retain or lose
| being based in Rust. Is it even possible to leverage the borrow
| checker any any sane way?
| alilleybrinker wrote:
| Steel seems alright: https://github.com/mattwparas/steel
|
| There are other Lisps too
| (https://github.com/alilleybrinker/langs-in-rust) though I
| think they're less actively maintained.
| duetosymmetry wrote:
| Greenspun's tenth rule strikes again!
| https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
| dgfitz wrote:
| What defines "sufficiently complicated" I wonder? Seems like a
| shit definition.
| StableAlkyne wrote:
| It's just a funny observation he made, it's not meant to be a
| rigorous academic definition :)
| eyelidlessness wrote:
| The rule defines it tautologically. Which is sufficiently
| unambiguous for its purpose!
| p4bl0 wrote:
| That was fun. Thanks for sharing!
| quasigloam wrote:
| Thanks! It was fun to make. It was also instructive, as I
| learned that rust analyser doesn't handle macros generating
| millions of tokens :D
| detourdog wrote:
| Does this reinforce Greenspan's 10th rule?
___________________________________________________________________
(page generated 2024-09-13 23:00 UTC)