General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
p11
No Boilerplate
comments
Comments by "p11" (@porky1118) on "Rust's Witchcraft" video.
I hate Rust macros. Why not just use Common Lisp macros? (I know the answer, but I still prefer macros, which work on the AST, not on the syntactic tokens)
2
@NoBoilerplate I'm only talking about the macro system. It would be possible to create macros closer to Lisp using the current syntax. The syn crate allows you to convert the token stream into an AST, which then is worked on. That's already pretty close to Lisps, but that process is still not straightforward. >TCO I don't care about that. I guess, LLVM is doing that anyway in many cases. And if there's not a new keyword, I don't really care. Some construct like Scopes loops would be nice, which is basically the same as tail calls. Each loop has local values and each iteration of the loop returns values, which are used for as input for the next iteration.
2