Re: Ply(LALR) and Yacc behaving differently

2005-04-08 Thread Åsmund Grammeltvedt
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 > > (http://systems.cs.uchicago.edu/ply/).

Re: Ply(LALR) and Yacc behaving differently

2005-04-08 Thread Carsten Haese
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 > (http://systems.cs.uchicago.edu/ply/). The only problem is that whereas > yacc accepts the