JMustache 1.16 released and now supports Parents and Blocks #182
agentgt
started this conversation in
Show and tell
Replies: 1 comment
-
Glad the Wontache playground has been useful to you! Does JMustache also implement #131? I can think of a few reasons why whitespace handling is tricky:
Lines 82 to 100 in 83b221a After implementing the rules correctly, they seemed less complicated to me than before. I think this summarizes the rules:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While I'm the primary author of JStachio I have been helping JMustache modernize.
It now supports Parents and Blocks and passes all the of the 1.3 spec tests (including correct whitespace).
@jgonggrijp Wontache playground was super helpful for me w/ whitespace checking. That was by far the hardest part. After doing this twice now I'm not sure why it is but it is totally worth it to get it correct. While I could have used JStachio for confirmation it is a fair amount of ceremony compared to the ease that is Wontache Playground.
Speaking of Wontache: JMustache is very similar on how readable and small the codebase is .... (cough especially compared to the beast of compiler that is JStachio).
I plan on adding experimental power filters #153 in a separate branch as it is much easier to do that in JMustache at the moment.
Beta Was this translation helpful? Give feedback.
All reactions