2 ms·
It's interesting to see how Maud's approach uses syntax extensions, in contrast to the less-powerful (but more stable) macro-based approach that Horrorshow uses
by kibwen 11y ago
It's interesting to see how Maud's approach uses syntax extensions, in contrast to the less-powerful (but more stable) macro-based approach that Horrorshow uses: https://users.rust-lang.org/t/horrorshow-a-no-longer-poc-html-template-library/1603 https://users.rust-lang.org/t/horrorshow-a-no-longer-poc-htm...
I also wonder if Maud could benefit from the Syntex library (https://github.com/erickt/rust-syntex https://github.com/erickt/rust-syntex) which uses a fork of Rust's (currently unstable) parsing library to enable syntax extensions to work on the stable Rust release via code generation.