From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2002-12-04T08:48:22+09:00 Subject: Re: syntax tree equivalent of a source file In article <20021203221354.GV86528@zone.syracuse.net>, Daniel Bretoi wrote: >Is there a way to get a syntax tree for the ruby program file after >loading in the program file (using irb)? > >db > I don't think there is a built-in way of doing this inside of irb, but there are a few projects out there. Look on the RAA for Ruth and Ripper. Also check out nodeDump here: http://www.pragmaticprogrammer.com/ruby/downloads/nodeDump.html Phil -- "Or perhaps the truth is less interesting than the facts?" Amy Weiss (accusing theregister.co.uk of engaging in 'tabloid journalism') Senior VP, Communications Recording Industry Association of America