Daniel10
(Daniel)
3 December 2002 22:00
1
Is there a way to get a syntax tree for the ruby program file after
loading in the program file (using irb)?
db
···
–
A.D. 1844: Samuel Morse invents Morse code. Cryptography export
restrictions prevent the telegraph’s use outside the U.S. and Canada.
Ptkwt1
3 December 2002 23:48
2
In article 20021203221354.GV86528@zone.syracuse.net ,
···
Daniel Bretoi lists@debonair.net 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
Check this out from RAA:
Category: Library/Compiler
Project name: bRuby
Version: snapshot20021202
Status: pre-alpha
Last update: 2002-12-03 00:44:57 GMT
Owner: Yuya (Projects of this owner)
Homepage: http://bruby.sourceforge.jp/
Download:
http://downloads.sourceforge.jp/bruby/1731/bruby-snapshot20021202.tar.gz
License: LGPL
Description: bRuby is an extension library for dumping/un-dumping ruby’s
internal syntax tree.
“Daniel Bretoi” lists@debonair.net wrote in message
news:20021203221354.GV86528@zone.syracuse.net …
···
Is there a way to get a syntax tree for the ruby program file after
loading in the program file (using irb)?
db
–
A.D. 1844: Samuel Morse invents Morse code. Cryptography export
restrictions prevent the telegraph’s use outside the U.S. and Canada.