Comment Comment by nulptr rust allows for procedural macros (basically a function that takes a token stream and returns a token stream, and yes you can do parsing in this funcitonhttps://doc.rust-lang.org/reference/procedural-macros.html parent nulptr 6 years ago
https://doc.rust-lang.org/reference/procedural-macros.html