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]

Re: Building GENERIC trees


paul@codesourcery.com (Paul Brook)  wrote on 05.03.04 in <200403051823.13994.paul@codesourcery.com>:

> > The f95 front-end generates GENERIC trees directly and may be useful for
> > you to use as a reference.
>
> Not really. The f95 frontend does generate its own trees. It then translates
> them into GENERIC trees a function at a time as a seperate pass.
>
> I agree that this is probably easier than building GENERIC+language
> extensions and lowering with genericise(). This is especially true if your
> language isn't very close to C.

Hmm. If BCPL is "not very close to C" then C has diverged pretty  
drastically from its beginnings. Which is possible, I guess.

I've never seen BCPL up close, but my impression is that semantically, it  
is rather close to "C without types".

MfG Kai


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