Re:Single Page Applications using Rust
by kevincox on Tuesday August 11, 2020 @06:36PM
(#24126804)
Macros in Rust don't need to be completely valid syntax. There are some requirements such as balanced parens and strings but the macro API is basically a token stream. The syntax requirements are just so that the compiler knows when the macro ends.
https://doc.rust-lang.org/1.7.0/book/macros.html#syntactic-r...