wycats/handlebars.js — Issue #169: Reserialize ast to template?
Author: papandreou
Created: 2012-01-31 16:39:14+00:00
State: open

Hi!

I'm working on a build system where I would like to parse a Handlebars template, perform some modifications (i18n), then serialize it again to its "source" form. It looks like the AST output by `handlebars.parse` is very comfortable to work with, but I couldn't find a function capable of turning the AST back into template source code.

Am I missing something? If not, consider this a feature request :)

Best regards,
papandreou