From: "Mauricio Fernández" Date: 2002-10-24T02:21:52+09:00 Subject: Re: NODE tree introspection On Thu, Oct 24, 2002 at 12:59:54AM +0900, Simon Cozens wrote: > > 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? http://www.rubygarden.org/ruby?RubyInRuby http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/8693 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/6885 I believe somebody attempted to ... uhmmm... do something using rockit. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com We are using Linux daily to UP our productivity - so UP yours! -- Adapted from Pat Paulsen by Joe Sloan