|
Proto : |
Subject: Re: [proto] So I heard proto make AST ...
From: Eric Niebler (eric_at_[hidden])
Date: 2010-07-27 09:08:23
On 7/27/2010 9:01 AM, joel falcou wrote:
> what about having some Tree related trasnform/function/meta-function then ?
>
> I'm often thinking : "dang, this transform is basically a BFS for a node
> verifying meta-function foo<>"
> and have to rewrite a BFS usign default_ and such, which is relatively
> easy.
>
> Now, sometimes it is "dang, this code is basically splitting an AST into
> multiples AST everytime I found a bar tag" or "I need to do a DFS"
> or even worse, I need to make the AST a DAG :E ...
>
> Do people think such stuff (maybe in proto::tree:: or smthg ?) be useful
> additions ?
That would be awesome, Joel!
-- Eric Niebler BoostPro Computing http://www.boostpro.com
Proto list run by eric at boostpro.com