3 ms·
Well, Rust is closer to C++ than Lisp :) If you look at the API https://blog.rust-lang.org/2018/12/21/Procedural-Macros-in-Rust-2018.html https://blog.rust-lan
by floatboth 7y ago
Well, Rust is closer to C++ than Lisp :)
If you look at the API https://blog.rust-lang.org/2018/12/21/Procedural-Macros-in-Rust-2018.html https://blog.rust-lang.org/2018/12/21/Procedural-Macros-in-R...
it works on the level of raw tokens, not even the AST. So you have to construct your own AST via the parser if you want to manipulate AST.