I've been considering writing something for Ruby similar to the Perl
B.pm module; this is a module which provides Perl-level access to the
bytecode op tree, so that other modules can walk the op tree in
various interesting ways. This is the way the Perl to C compiler was
implemented. (however unsuccessfully...)

It seems reasonably easy to do in Ruby, just by wrapping the NODE*
structures as Ruby objects. Has anyone already done this or tried
working on it?

-- 
"The best index to a person's character is a) how he treats people who can't 
do him any good and b) how he treats people who can't fight back."
-- Abigail Van Buren