Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!nerds-end From: Hans Aberg Newsgroups: comp.compilers Subject: Re: push lexer? Date: Tue, 17 Jan 2012 21:06:08 +0100 Organization: A noiseless patient Spider Lines: 17 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <12-01-036@comp.compilers> References: <12-01-032@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: leila.iecc.com 1326845632 12641 64.57.183.58 (18 Jan 2012 00:13:52 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Wed, 18 Jan 2012 00:13:52 +0000 (UTC) Keywords: lex Posted-Date: 17 Jan 2012 19:13:52 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:435 On 2012/01/17 10:28, John Levine wrote: >> 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"? > [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] FYI, Flex is currently not maintained or developed. Hans [That's true, but it's sitting at Sourceforge, ready for anyone who wants to pick it up. http://sourceforge.net/projects/flex/ -John]