From: Magnus Holm Date: 2009-08-17T22:29:27+09:00 Subject: [ruby-core:24953] Re: [Feature #1857] install *.h and *.inc I've already written a working Ripper to ruby_parser converter, but becasue of bug #1939 (http://redmine.ruby-lang.org/issues/show/1939#), it's not reliable enough. Could we please get local variables straight from Ripper? I can send RipperRubyParser to you if you're interested (I'm both a Sexp and Ripper-noobie, so you might want to refactor it a bit). Oh, and you would also have to update Ruby2Ruby to support the new syntax (lambda-literal + blocks can capture blocks + probably more I've forgotten). This would also be a good time to try to simplify the AST even more. What'd you think Ryan? On Aug 17, 7:55�am, Ryan Davis wrote: > On Aug 16, 2009, at 21:51 , Yugui (Yuki Sonoda) wrote: > > > 2 days ago, I talked with ko1 about Proc#to_source. If � > > Proc#to_source is > > supported by Ruby core, you can use ripper for generating S- > > expressoin. > > Is this a good solution? > > Yes. That would be wonderful. > > I can write a ripper AST to ruby_parser converter so that existing � > tools can remain the same.