This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Input Stream Rewriting (Was: Target-specific Front-Ends?)
- From: Ziemowit Laski <zlaski at apple dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: Aldy Hernandez <aldyh at redhat dot com>, Joe Buck <jbuck at synopsys dot com>, Mark Mitchell <mark at codesourcery dot com>, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 28 Nov 2001 12:01:29 -0800
- Subject: Input Stream Rewriting (Was: Target-specific Front-Ends?)
(I changed the Subject heading, since I now assume my modular FE proposal
has been sufficiently discussed -- and rejected...)
On Wednesday, November 28, 2001, at 11:06 , Neil Booth wrote:
> Aldy Hernandez wrote:-
>
>> doesn't matter. just put the FE extension somewhere after cpplib and
>> before the lexical analyzer.
>
> Hmm. The lexical analyzer is in cpplib. 8-) I think you mean parser.
Actually, my vote would be to place the functionality in the lexical
analyzer in cpplib (so that it would also be present in the stand-alone
CPP),
where essentially you rewrite the token stream right before it comes out.
--Zem
> --------------------------------------------------------------
Ziemowit Laski Apple Computer, Inc.
zlaski@apple.com 2 Infinite Loop, MS 302-4SN
+1.408.974.6229 Fax .1344 Cupertino, CA 95014-2085