Dumping Ruby Parse Tree

Hello fellow Rubyists,

Is there a way to dump current ruby's parse tree ( 1.8.2 or 1.9 ) ?

I have tried to dl nodedump, but RAA seems to have only stale links on
it. I will try out ii, but I have not heard much success stories about it.

Any other projects that are up to date ?

Thank you,
kaspar

semantics & semiotics
code manufacture

www.tua.ch/ruby

it. I will try out ii, but I have not heard much success stories about it.

ii want to work only at moulon.

Guy Decoux

Hi,

At Thu, 2 Sep 2004 18:49:33 +0900,
Kaspar Schiess wrote in [ruby-talk:111260]:

I have tried to dl nodedump, but RAA seems to have only stale links on
it. I will try out ii, but I have not heard much success stories about it.

NodeDump is in CVS of ruby-lang.org, rough/ext/nodedump.

···

--
Nobu Nakada

You should also check out nodewrap:
http://rubyforge.org/projects/nodewrap/

Phil

···

In article <ch6qb7$2ft$1@sea.gmane.org>, Kaspar Schiess <eule@space.ch> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello fellow Rubyists,

Is there a way to dump current ruby's parse tree ( 1.8.2 or 1.9 ) ?

I have tried to dl nodedump, but RAA seems to have only stale links on
it. I will try out ii, but I have not heard much success stories about it.

Any other projects that are up to date ?

> it. I will try out ii, but I have not heard much success stories

about it.

ii want to work only at moulon.

I get the feeling that you are joking but that it misses me completely.
Could you explain ?

- --
kaspar

semantics & semiotics
code manufacture

www.tua.ch/ruby

Thanks !

kaspar

semantics & semiotics
code manufacture

www.tua.ch/ruby

···

nobu.nokada@softhome.net wrote:

NodeDump is in CVS of ruby-lang.org, rough/ext/nodedump.

Actually the homepage is at:

http://rubystuff.org/nodewrap/

and that's where you can find examples of nodewrap's dumper. NodeDump
has a little bit more human-readable output, but when I'm digging
through Ruby internals, I prefer to know exactly what nodes are there.

Paul

···

On Fri, Sep 03, 2004 at 01:55:19AM +0900, Phil Tomson wrote:

You should also check out nodewrap:
http://rubyforge.org/projects/nodewrap/

Could you explain ?

Only the (private) version at moulon work with a recent ruby, don't try
other versions.

Guy Decoux

Paul Brannan wrote:

Actually the homepage is at:

http://rubystuff.org/nodewrap/

This looks like another useful thing to have for my current projects.
Thank you for your pointer.

kaspar

semantics & semiotics
code manufacture

www.tua.ch/ruby