LR(1) grammar/parser and lookahead-restrictions

Michael Dyck jmdyck at ibiblio.org
Thu Jan 12 02:39:10 UTC 2017


On 17-01-11 09:09 PM, Isiah Meadows wrote:
> Heuristically, I doubt it's even context-free at this point, considering the
> concept and widespread prevalence of early errors now. I suspect it's mildly
> context-sensitive (maybe tree-adjoining?), but I'm no formal language expert
> here.

I think the claim of/desire for LR(1)-ness only applies to the language 
defined by the BNF-ish rules, i.e. ignoring the effects of prose-y things 
like early errors and ASI. Anyhow, that's the language I'm asking about.

-Michael


More information about the es-discuss mailing list