Related articles |
---|
Flex and Dynamic Data buffer: Advanced technique ymotiwala@yahoo.com (2002-05-17) |
Flex and Dynamic Data buffer: Advanced technique cfc@world.std.com (Chris F Clark) (2002-05-23) |
Re: Flex and Dynamic Data buffer: Advanced technique clint@0lsen.net (Clint Olsen) (2002-05-23) |
From: | Clint Olsen <clint@0lsen.net> |
Newsgroups: | comp.compilers |
Date: | 23 May 2002 01:28:09 -0400 |
Organization: | NULlsen Network |
Keywords: | lex |
Posted-Date: | 23 May 2002 01:28:09 EDT |
Content-Disposition: | inline |
In comp.compilers, you wrote:
> [flex parsers expect the parser to call the lexer, and the lexer to call
> the I/O, while you want to go the other way around. Either you need to
> completely restructure the lexer, or else use a thread package. -John]
What about using Lemon? It requires the lexer call the parser, so he
should get what he wants.
http://www.hwaci.com/sw/lemon
And if you are unable to make flex call Lemon, I would suggest using
something more flexible like re2c.
-Clint
--
Clint Olsen . -- .
clint at NULlsen dot net .' ,-. `.
;_,' ( ;
`. ``;'
FreeBSD: Rebooting is for hardware upgrades. ` -- '
Return to the
comp.compilers page.
Search the
comp.compilers archives again.