From: Ryan Davis Date: 2008-10-10T17:32:31+09:00 Subject: Re: parse tree for 1.9 On Oct 10, 2008, at 01:02 , Alex Fenton wrote: > Roger Pack wrote: >> Anybody know if there is anything like parse_tree for 1.9? >> Thanks! > > > Perhaps RubyVM::InstructionSequence.compile or > RubyVM::InstructionSequence::compile_file will do something similar > to what you want. These methods are standard in 1.9 unfortunately, no... that's not even close. :( I've asked multiple times if we could get bytecode for procs and short of writing more C extensions to hack it out myself, I doubt it'll ever show. Even still, we'd have to write a bytecode decompiler to something that was remotely readable/usable. That's a lot of work.