From: Bil Kleb Date: 2002-02-08T07:24:18+09:00 Subject: Re: Adding rockit power to Rdoc? Dave Thomas wrote: > > I think that would be great. And if you can make it handle Ruby using > RockIT, and if I can still bundle everything into a single > download,and if the performance is reasonable, I'd be very, very happy > to throw away the current parser. You think even grander than I do! ;) I was merely(!?) thinking that one would still be required to build an adaptor to go from the abstract syntax tree to a code model, but then again I don't really know what I'm talking about... Robert? On a recursive note: Rdoc wasn't able to rdoc rockit: lib/sourcecode_dumpable.rb: m........cm# Exception `NameError' at /usr/local/pkgs/ruby-1.6.5/lib/ruby/site_ruby/1.6/rdoc/parse.rb:1630 - undefined method `name' for # /usr/local/pkgs/ruby-1.6.5/lib/ruby/site_ruby/1.6/rdoc/parse.rb:1630:in `parse_module': undefined method `name' for # (NameError) from /usr/local/pkgs/ruby-1.6.5/lib/ruby/site_ruby/1.6/rdoc/parse.rb:1498:in `parse_statements' from /usr/local/pkgs/ruby-1.6.5/lib/ruby/site_ruby/1.6/rdoc/parse.rb:1634:in `parse_module' from /usr/local/pkgs/ruby-1.6.5/lib/ruby/site_ruby/1.6/rdoc/parse.rb:1498:in `parse_statements' from /usr/local/pkgs/ruby-1.6.5/lib/ruby/site_ruby/1.6/rdoc/parse.rb:1339:in `scan' from /usr/local/pkgs/ruby-1.6.5/lib/ruby/site_ruby/1.6/rdoc/parse.rb:1338:in `catch' from /usr/local/pkgs/ruby-1.6.5/lib/ruby/site_ruby/1.6/rdoc/parse.rb:1338:in `scan' from /usr/local/bin/rdoc:358:in `document' from /usr/local/bin/rdoc:344:in `find' from /usr/local/pkgs/ruby-1.6.5/lib/ruby/1.6/find.rb:14:in `catch' from /usr/local/pkgs/ruby-1.6.5/lib/ruby/1.6/find.rb:14:in `find' from /usr/local/bin/rdoc:344:in `document' from /usr/local/bin/rdoc:406 -- Bil