Quasi-literals for templating?

Axel Rauschmayer axel at rauschma.de
Wed Jun 15 16:16:46 PDT 2011

Quick feedback: I haven’t seen SVE (substitution value expression?) defined anywhere and can’t find a description of using ${{var}} as syntactic sugar for "{var:${var}}".

On Jun 15, 2011, at 20:42 , Mike Samuel wrote:

> 2011/6/15 Brendan Eich <brendan at mozilla.com>:
>> The point is that the callSiteId captures all the literal/constant/loop-invariant parts of the quasi, both raw and cooked ("expandedLP"). The remaining quasi handler parameters are the necessarily variable, evaluated-at-runtime substitution expression results.
>> The proposal needs to say this a bit more explicitly, and up front.
> Added http://wiki.ecmascript.org/doku.php?id=harmony:quasis#callsiteid
> and renamed rawLP and unescapedLP.

Dr. Axel Rauschmayer

axel at rauschma.de

home: rauschma.de
blog: 2ality.com

More information about the es-discuss mailing list