Conversation

Idly wondering if it'd be possible to extend Rust procedural macros with some sort of interface to the name resolver, typechecker, and const eval. Sort of a principled approach to template metaprogramming...
8
56
Yes, I think Lean developed a similar framework independently, and Agda adopted Idris' approach. I think Lean 4 adds some Racket style macros, which might make it even more applicable to Rust.
2