Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.x-privat.org!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!nerds-end From: Detlef Bosau Newsgroups: comp.compilers Subject: push lexer? Date: Tue, 17 Jan 2012 10:28:57 +0100 Organization: Arcor Lines: 12 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <12-01-032@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: leila.iecc.com 1326816025 4795 64.57.183.58 (17 Jan 2012 16:00:25 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Tue, 17 Jan 2012 16:00:25 +0000 (UTC) Keywords: lex, question, comment Posted-Date: 17 Jan 2012 11:00:25 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: x330-a1.tempe.blueboxinc.net comp.compilers:431 Bison 2.5 has a "push api". http://www.gnu.org/software/bison/manual/html_node/Push-Parser-Function.html Does there exist something similar for lex of flex or does somebody know a "push scanner"? Thanks. Detlef [Not that I've ever seen. It would be straightforward to modify flex to create push lexers that work with push parsers, but so far nobody's done it. -John]