W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2013

Re: E4H compatible with string templates

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 14 Mar 2013 17:26:32 -0700
Message-ID: <CAAWBYDAg3mA_uVSKASxMeXTQ+rx2_gH5ypfoAjg0NHVwE3FqEQ@mail.gmail.com>
To: Brendan Eich <brendan@secure.meer.net>
Cc: Mike Samuel <mikesamuel@gmail.com>, Ian Hickson <ian@hixie.ch>, "public-script-coord@w3.org" <public-script-coord@w3.org>, Adam Barth <w3c@adambarth.com>
On Thu, Mar 14, 2013 at 5:16 PM, Brendan Eich <brendan@secure.meer.net> wrote:
> Right, I keep forgetting (and apols to Hixie for assuming E4H used a full
> HTML parser).
>
> However, for template strings the holes contain the results of evaluating
> arbitrary expressions. The html`...` handler would validate the results that
> fill each hole but only at runtime, of course.

Yes, a more normal html template handler would have more arbitrary
constraints, and could fail at runtime.  I (and Hixie) are only
referring to E4H, whether invoked with dedicated JS syntax or as a
built-in handler.

~TJ
Received on Friday, 15 March 2013 00:27:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:09 UTC