|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:||Tue, 06 Nov 2007 05:54:03 -0800|
|Keywords:||lex, question, comment|
|Posted-Date:||06 Nov 2007 10:42:52 EST|
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.
Is this an idea that has been explored and thought of as unworthy?
I know that multiple input files could increase the size of the
buffer(s) but hey, we are living in the age of 100s of MB of main
[This is a very old idea. Turbo Pascal buffered full source files in
RAM in the 1980s. -John]
Return to the
Search the comp.compilers archives again.