Re: lexical analysis of python

2009-03-10 Thread robert . muller2
On Mar 10, 9:38 pm, Paul McGuire wrote: > On Mar 10, 8:31 pm, robert.mull...@gmail.com wrote: > > > > > I am trying to implement a lexer and parser for a subset of python > > using lexer and parser generators. (It doesn't matter, but I happen to > > be using > > ocamllex and ocamlyacc). I've run i

lexical analysis of python

2009-03-10 Thread robert . muller2
I am trying to implement a lexer and parser for a subset of python using lexer and parser generators. (It doesn't matter, but I happen to be using ocamllex and ocamlyacc). I've run into the following annoying problem and hoping someone can tell me what I'm missing. Lexers generated by such tools re