This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A FrontEnd in C++?
On Thu, 2002-08-22 at 16:03, Pop Sébastian wrote:
> On Wed, Aug 21, 2002 at 02:50:47PM -0400, Daniel Berlin wrote:
> > >
> > > P.S.: I even thought sometimes about (re)writing some of the optimizations
> > > in C++.
> >
> > I've actually started doing it many times.
> > In particular, i've still got the start of an interprocedural middle-end
> > (IE takes trees from many modules) written in C++.
> >
>
> Why not beginning to write the AST optimizer in C++?
>
Go right ahead. All you need is a new branch and some free time. I
would personally suggest following some of the design and implementation
ideas from SUIF and/or Sage++. They are kind of neat.
Diego.