From: "ara.t.howard" Date: 2008-01-04T06:33:17+09:00 Subject: Re: parse tree? On Jan 3, 2008, at 1:10 PM, Ryan Davis wrote: > >> >> pt = ParseTree.new.parse_tree_for_string("1+2") >> => [[:call, [:lit, 1], :+, [:array, [:lit, 2]]]] >> >> Ruby2Ruby.new.process(pt.first) >> => "(1 + 2)" > > does that help? > > ryan. even though i've seen that before i thought i'd add: that is insanely cool! a @ http://codeforpeople.com/ -- it is not enough to be compassionate. you must act. h.h. the 14th dalai lama