Related articles |
---|
lex/flex and source correspondence parthaspanda22@gmail.com (2007-11-06) |
Re: lex/flex and source correspondence gene.ressler@gmail.com (Gene) (2007-11-08) |
Re: lex/flex and source correspondence dickey@saltmine.radix.net (Thomas Dickey) (2007-11-29) |
From: | parthaspanda22@gmail.com |
Newsgroups: | comp.compilers |
Date: | Tue, 06 Nov 2007 05:54:03 -0800 |
Organization: | Compilers Central |
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
memory.
Sincerely.
[This is a very old idea. Turbo Pascal buffered full source files in
RAM in the 1980s. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.