help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make Bison disregard tokens?


From: Edsko de Vries
Subject: Re: How to make Bison disregard tokens?
Date: Fri, 2 Mar 2007 14:23:16 +0000
User-agent: Mutt/1.5.9i

On Fri, Mar 02, 2007 at 03:18:59PM +0100, address@hidden wrote:
> On Friday 02 March 2007 15:15, Edsko de Vries wrote:
> > On Fri, Mar 02, 2007 at 03:02:43PM +0100, address@hidden wrote:
> > > On Friday 02 March 2007 14:54, Edsko de Vries wrote:
> > > > If you have a
> > > > good solution for that, I'd be very interested to hear it!
> > >
> > > look at pl1gcc.sourceforge.net
> > >
> > > in the scanner you 'just' have to do all the bean counting yourself, and
> > > you have to come up with a prober structure to keep the locations, but
> > > other than that it is straight forward to implement.
> >
> > The problem is that our scanner is rather complicated (lexical analysis
> > for PHP is not easy),
> 
> do you have a link or can you send me the scanner file alone ?

Sure. phc is hosted by Google code; the scanner is at

http://phc.googlecode.com/svn/phc/trunk/src/generated_src/php_scanner.lex

Edsko




reply via email to

[Prev in Thread] Current Thread [Next in Thread]