defunkt / pystache

Mustache in Python
http://mustache.github.com/
MIT License
1.31k stars 308 forks source link

Handlebars compatibility #146

Closed michaelmior closed 9 years ago

michaelmior commented 11 years ago

Apologies if this has been discussed before, but I didn't see it any past issues. I was wondering if support for helpers has been considered for greater compatibility with Handlebars templates.

I understand that implementing the Mustache spec precisely is the number one goal. However, since pystache already implements most of Handlebars, it would be great to have this as an option (disabled by default of course). I very quickly hacked in support for non-block helpers in under 10 lines of code and all existing tests still pass.

Just curious if there's any interest in this and I can clean that up and send a pull request to continue further discussion. Thanks!