Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #435

Re: push lexer?

From Hans Aberg <haberg-news@telia.com>
Newsgroups comp.compilers
Subject Re: push lexer?
Date 2012-01-17 21:06 +0100
Organization A noiseless patient Spider
Message-ID <12-01-036@comp.compilers> (permalink)
References <12-01-032@comp.compilers>

Show all headers | View raw


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]

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

push lexer? Detlef Bosau <detlef.bosau@web.de> - 2012-01-17 10:28 +0100
  Re: Statistics on compiling the Free Pascal compiler for Win32 Sven Barth <pascaldragon@googlemail.com> - 2012-01-17 10:00 +0100
  Re: push lexer? Hans Aberg <haberg-news@telia.com> - 2012-01-17 21:06 +0100
    Re: push lexer? Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com> - 2012-01-30 23:28 +0000

csiph-web