|lex/flex and source correspondence email@example.com (2007-11-06)|
|Re: lex/flex and source correspondence firstname.lastname@example.org (Gene) (2007-11-08)|
|Re: lex/flex and source correspondence email@example.com (Thomas Dickey) (2007-11-29)|
|Date:||Thu, 08 Nov 2007 03:43:25 -0000|
|Posted-Date:||07 Nov 2007 23:12:06 EST|
On Nov 6, 8:54 am, parthaspand...@gmail.com wrote:
> A flex generated scanner could decide to store the entire input file
> in memory. That way, a single buffer can be used in several places in
> the tool chain that uses a scanner. ...
> [This is a very old idea. Turbo Pascal buffered full source files in
> RAM in the 1980s. -John]
The C preprocessor of gcc also buffers entire files, or at least did
in the version I studied some years ago. It used a hand-coded
scanner, however, not lex/flex.
Return to the
Search the comp.compilers archives again.