Programming Language for Beginners
Paul Brook
paul@codesourcery.com
Fri Sep 10 17:04:00 GMT 2004
On Friday 10 September 2004 17:17, James A. Morrison wrote:
> Paul Brook <paul@codesourcery.com> writes:
> > > Which front end would be the best one to look at to understand
> > > how the tree-ssa interface works? Which one woule be the best one
> > > to copy for a new front end?
> >
> > I'd say the Fortran frontend, but I'm biased:)
> > The Fortran frontend has been recently rewritten. It uses custom data
> > structures while parsing, then translates these into GENERIC trees once a
> > whole program unit has been parsed.
>
> The Fortran frontend is a good example. The treelang frontend also works
> and may be a bit simpler to start with.
I thought the Treelang frontend was dead, and generally considered to be a bad
example of how to do a frontend.
Or did someone rewrite it while I wasn't looking?
Paul
More information about the Gcc
mailing list