On Mar 22, 2006, at 5:52 PM, John Lam wrote: > On 3/22/06, Robert Klemme <bob.news / gmx.net> wrote: >> >> Note also, that marshaling object graphs doesn't help here because >> that >> doesn't capture methods. So the tool would have to keep track of >> defined variables and methods and store them somehow. >> > > Whoops - that's right. Is it possible to persist Ruby's AST as well > as the > live object graph? I guess I'm going to have to spend some time > digging into > the sources to see how the AST hangs together and whether that > would even > make any sense. ParseTree can be used with Ruby2Ruby to persist some of the AST. There are limitations though. http://rubyforge.org/projects/parsetree/ -- Eric Hodel - drbrain / segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com