From: Robert Feldt Date: 2001-07-06T13:39:55+09:00 Subject: [ruby-talk:17378] Re: RubyDoc. was /* */ comments On Fri, 6 Jul 2001, Dave Thomas wrote: > I've got much of this working right now, using irb's lexer and > parser. However, I ran into problems getting it to handle method > parameter lists, so I'm waiting for one of the RiR parser teams to > deliver something. > FYI: I'm "very close now" TM (:-)) to a RiR parser but I'm going on vacation this weekend so you'll have to wait a while more. Maybe someone beats me to it? ;-) The solution I've chosen is to have the comments as "statements" in the AST. So you'd have to associate them with the following class or method def yourself. Other/better ideas anyone? BTW, I'd love to see widespread use of a documenting tool of the sort you describe. Regards, Robert