Template strings as a template language.

Mark S. Miller erights at google.com
Sun Sep 13 12:08:01 UTC 2015

On Sun, Sep 13, 2015 at 2:42 AM, Thomas <thomasjamesfoster at bigpond.com>

> I'd really like to use Template strings as a templating language, but
> unless I include a lot of boilerplate code (export a template string
> wrapped in a function from a file)

Hi Thomas, could you give a concrete example of the boilerplate you have in
mind and what it accomplishes?

> or use eval after loading a file as a string it's pretty much impossible.
> Is there a simpler way to be doing this? Or any plans for a type of eval
> that only executes it's argument as a template string?

I am unaware of any such plans. Could you give an example of what it looks
like and what it would accomplish? Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150913/7672d29e/attachment.html>

More information about the es-discuss mailing list