5 ms·
> Rust seems to be good for language designers thanks to a combination of features Not only the type system is quite nice, the ecosystem is full of nice crates
by linkdd 3y ago
> Rust seems to be good for language designers thanks to a combination of features
Not only the type system is quite nice, the ecosystem is full of nice crates:
- lexing: logos
- parsers: rust-peg / lalrpop / nom
- utilities: string-interner / linecol / snailquote
I also wrote about this here: https://david-delassus.medium.com/writing-a-simple-lisp-interpreter-in-rust-91dd32ea4d8f?sk=e3b513bd85e9d9d944180ec35d96dbcf https://david-delassus.medium.com/writing-a-simple-lisp-inte... (friend link, no paywall)
- xcdzvyn 3y agoI came cross this post when I was working on my own LISP parser :) Very cool Though personally I think writing LISP interpreters with parser libraries should be considered sacrilege
- linkdd 3y ago> Though personally I think writing LISP interpreters with parser libraries should be considered sacrilege Agreed, though the point of the article was to explore the Rust ecosystem. When learning, a little bit of blasphemy isn't a bad thing :)