From: Dave Thomas Date: 2002-03-20T22:38:27+09:00 Subject: Re: Parsing Ruby Ron Jeffries writes: > REXML parses Ruby? I took it to be an XML parser. I want to parse > Ruby code (a little bit). RDoc has a full Ruby lexer (stolen from irb) and parses enough Ruby to extract classes, methods, attrs, etc. The parser ain't pretty, as it was cobbled together from a number of sources. I'm slowly refactoring it, but perhaps it'll do what you want. Dave