3 ms·
if you write a syntax extension, you can use if and any other rust keywords / operator / token (see the template language i started which use if directly)
by allan_s 11y ago
if you write a syntax extension, you can use if and any other rust keywords / operator / token (see the template language i started which use if directly)
- nimrody 11y agoThe one thing I like about React's JSX "html in javascript", is that it lets you reuse all of the host language (javascript in React's case) control structures. Otherwise Maud has to re-implement if/then/else, iterator methods, etc. But perhaps you could use 'if/then' and other structures inside a $() block.