Existential Operator / Null Propagation Operator

Isiah Meadows isiahmeadows at gmail.com
Sat May 21 22:57:17 UTC 2016


I'm aware it's specified as a cover grammar, which is the easiest way I'm
aware of to do it in a traditional declarative grammar. If you're writing a
parser, though, you'll probably be using a mixture of lookahead and
speculative parsing, or something to that effect, in practice, since it's
faster.

On Thu, May 19, 2016, 16:38 Kevin Smith <zenparsing at gmail.com> wrote:

> I will note that JavaScript does already require n-token lookahead worst
>> case to disambiguate arrow functions from sequence expressions.
>>
> The syntax is actually specified in terms of cover grammars, not arbitrary
> lookahead.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160521/9310a761/attachment.html>


More information about the es-discuss mailing list