[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua 5.2 EBNF in manual
- From: Robert Virding <robert.virding@...>
- Date: Fri, 1 Nov 2013 15:37:57 +0100 (CET)
----- Original Message -----
> From: "Hisham" <firstname.lastname@example.org>
> On 1 November 2013 08:43, Roberto Ierusalimschy <email@example.com>
> >> Actually that's wrong. The grammar is very, very close to being an LALR(1)
> >> grammar. I only needed to change the rule:
> >> [...]
> > What is wrong?
> I suppose Robert misread this
> > In particular, the grammar in
> > the implementation is far from good for a tool like yacc.
> ...as "the grammar in the _specification_ is far from good for a tool
> like yacc" (since he then follows by showing how the grammar in the
> manual is almost suitable for a yacc-like tool).
> -- Hisham
Yes, that is what I meant. The Lua grammar description IS very close to a LALR(1) grammar.