Building GENERIC trees

Kai Henningsen kaih@khms.westfalen.de
Fri Mar 5 22:26:00 GMT 2004


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



More information about the Gcc mailing list