How to use flex/bison with an inverted flow of control?

"Bob" <bob_rossi@cox.net>
19 Dec 2005 00:08:33 -0500

          From comp.compilers

Related articles
How to use flex/bison with an inverted flow of control? bob_rossi@cox.net (Bob) (2005-12-19)
Re: How to use flex/bison with an inverted flow of control? dickey@saltmine.radix.net (Thomas Dickey) (2005-12-19)
Re: How to use flex/bison with an inverted flow of control? cfc@shell01.TheWorld.com (Chris F Clark) (2005-12-19)
Re: How to use flex/bison with an inverted flow of control? DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2005-12-23)
Re: How to use flex/bison with an inverted flow of control? RLake@oxfam.org.uk (2005-12-24)
Re: How to use flex/bison with an inverted flow of control? clint@0lsen.net (Clint Olsen) (2005-12-30)
| List of all articles for this month |
From: "Bob" <bob_rossi@cox.net>
Newsgroups: comp.compilers
Date: 19 Dec 2005 00:08:33 -0500
Organization: http://groups.google.com
Keywords: lex, yacc, question
Posted-Date: 19 Dec 2005 00:08:33 EST

Hi All,


I'm looking for a parser/scanner generator to use in a project I'm
working on (CGDB).


The problem I'm having with bison/flex is that they expect you to have
all of the data up front before you call the parse routine. This is not
good for me, as it takes control away from the process main loop for to
long.


Instead of bison asking for the tokens, I would like to give it one
token at a time, and have it tell me when it's done. That way, I can
give it data as it arrives to me. Are there any reliable open source
projects out there that work like this?


Does anyone know if bison and flex are still being maintained? I
looked, and it seems like flex hasn't been modified in about 10 years!


Any help would be apprecicated.


Thanks,
Bob Rossi



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.