Nested Quasis

Waldemar Horwat waldemar at google.com
Tue Jan 31 14:36:18 PST 2012


On 01/28/2012 02:54 PM, Erik Arvidsson wrote:
> Under the open issues for Quasi Literals,
> http://wiki.ecmascript.org/doku.php?id=harmony:quasis#nesting , the
> topic of nesting is brought up.
>
> After implementing Quasi Literals in Traceur it is clear that
> supporting nested quasi literals is easier than not supporting them.
> What is the argument for not supporting nesting? Can we resolve this?

This has been hashed out in committee before.  Do you have a solution to the grammar problems, such as having a full ECMAScript parser inside the lexer?  You can't just count parentheses because that breaks regexps.

     Waldemar


More information about the es-discuss mailing list