Open untitaker opened 2 weeks ago
I regularly forget to add @
in front of maud
keywords too, so I like the suggestion.
However I would propose to only merge a pull request that implements this if it does not come with a noticeable performance hit during compilation. I appreciate the fast compilation speed of maud
templates immensely (the template engine I used prior to maud
was an order of magnitude slower) and the smooth programming experience that comes with it.
That being said, I think I will take a stab at this when I find the time.
Edit:
It probably just needs to be added here.
i had this template in my code:
maud rendered this to:
it would be nice if maud could make all of its own constructs reserved keywords, so that this situation doesn't occur anymore. there shouldn't be a reason to ever create an
<else>
tag. if there is, surely new syntax like"else" { .. }
can satisfy that usecase.