This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]