LR(1) grammar/parser and lookahead-restrictions
jmdyck at ibiblio.org
Fri Feb 3 16:45:21 UTC 2017
On 17-02-02 06:56 PM, Dmitry Soshnikov wrote:
> Just to double-check, by "parametrized productions" you mean the
> `No<lookahead>` extra productions?
See the 'Grammar Notation' section of ES6+, at the paragraph beginning
"A production may be parameterized by a subscripted annotation".
They were introduced in draft 20 of ES6, and *replaced* the use of the
"NoIn" productions of the previous draft (and ES3-5).
(which, strictly speaking, weren't "No<lookahead> productions", because they
didn't express a restriction on lookahead)
More information about the es-discuss