From: Charles O Nutter Date: 2006-07-26T02:02:38+09:00 Subject: Re: rdoc grows to large size. ------=_Part_175566_9370244.1153846954737 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/25/06, Eric Hodel wrote: > > Comment nodes could be added to Ruby's interpreter, but I think matz > has given some reason or another why they aren't in the AST. > We are planning to add comment nodes to the JRuby AST, which is mostly identical to the C Ruby AST, but with a parser flag to allow us to turn them on or off as needed. They would add a good bit of memory overhead, so we'll generally not want them, but most of the Java-based Ruby editors make use of the JRuby parser to provide a complete representation of an incoming document. matz: perhaps you can tell us why adding comment nodes to the AST couldn't be done? It might save significant overhead and code duplication for tools like rdoc. -- Charles Oliver Nutter @ headius.blogspot.com JRuby Developer @ www.jruby.org Application Architect @ www.ventera.com ------=_Part_175566_9370244.1153846954737--