- From: Tim Janik <timj gtk org>
- To: Paul Davis <pbd Op Net>
- Cc: Gtk+ MList <gtk-list gnome org>
- Subject: Re: GScanner
- Date: Sun, 1 Apr 2001 09:44:19 +0200 (CEST)
On Fri, 23 Mar 2001, Paul Davis wrote:
> >flex is slower by orders of magnitude and gets very
> >inefficient as many static symbols arrive.
> >gscanner can also be used pretty esily to tokenize
> >in memory strings without generating lexing tables
> >and its runtime configurable for most things.
> if it integrated more naturally with bison, these might seem like
> better arguments :) i could *perhaps* live without flex's input file,
> but making do without a bison grammar file as the basis for a parser
> seems like a sure way towards madness. but then again, i've never
> tried to use gscanner and bison, so perhaps its easier than it looks.
> i also don't recall how much support for regexps gscanner has. i
> should go and look.
it is pretty easy to get gscanner going with bison, however,
gscanenr doesn't support regexp at all.
] [Thread Prev