From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pop Sébastian To: Daniel Berlin Cc: Chris Lattner , dnovillo@redhat.com, gcc@gcc.gnu.org Subject: Re: [tree-ssa] AST optimizer in C++? Date: Tue, 27 Aug 2002 01:17:00 -0000 Message-id: <20020827081744.GA731@gauvain.u-strasbg.fr> References: <20020826155229.GB9873@gauvain.u-strasbg.fr> <0BB75127-B974-11D6-BB23-000393575BCC@dberlin.org> X-SW-Source: 2002-08/msg01690.html On Tue, Aug 27, 2002 at 12:18:31AM -0400, Daniel Berlin wrote: > > I've yet to deal with the issue of a Tree class (either by conversion, > or abstraction). Keeping the original tree structure as it is avoids to retranslate the representation back to trees once we're finished. So I'm for abstraction. I think that we should avoid is to deal with tree structure directly, and build an interface that will abstract existent structures (maybe tree structures will change). > Though if you guys want to play with a C++ based AST optimizer, i'll > throw it on a branch or something That's an excellent idea. What about including it in the tree-ssa branch?