whoward / cadenza

parser and renderer library for liquid-like templates
13 stars 6 forks source link

Liquid's getting a parser!? #11

Closed joefiorini closed 11 years ago

joefiorini commented 11 years ago

Did you see this? Looks like @tobi is working on a proper parser for Liquid.

https://github.com/Shopify/liquid/compare/ragel

tobi commented 11 years ago

Cadenza looks great!

whoward commented 11 years ago

Oh wow, thats awesome! thanks @tobi!

I had no idea liquid was looking to move to a parser like this one, I'll look forward to seeing how that evolves! especially around how you go about supporting custom blocks, I never could come up with a functioning grammar that could handle the nice {% form %}...{% endform %} (the closing tag name matches the opening tag name), though i'm planning on revisiting it some day.