On Fri, 8 Apr 2005, Carsten Haese wrote:
> On Thu, 2005-04-07 at 14:51, Åsmund Grammeltvedt wrote:
> > Hi.
> >
> > I am trying to implement a small compiler in python and, trying to use
> > something a bit more pythonic than lex/yacc, ended up with ply
> > (h
o state 1
OK, I believe those are the interesting parts. Appearently, ply doesn't
want to shift anything other than a ';' and thereby produces an error if
it encounters '+'. This only occurs in LALR mode, though. SLR handles
correctly, but my larger grammar isn't SL