Simple lexing/parsing task

Any nice way to parse a block of ruby code, and return a list of all the
variable names?

martin

did you looked at ripper? it’s on rubyforge

···

il Mon, 09 Feb 2004 21:15:37 GMT, Martin DeMello martindemello@yahoo.com ha scritto::

Any nice way to parse a block of ruby code, and return a list of all the
variable names?

gabriele renzi wrote:

···

il Mon, 09 Feb 2004 21:15:37 GMT, Martin DeMello > martindemello@yahoo.com ha scritto::

Any nice way to parse a block of ruby code, and return a list of all the
variable names?

did you looked at ripper? it’s on rubyforge

Umm the project hasn’t released any files and doesn’t have a web page…

Charles Comstock

well, ripper.rb has been out for a while, but moved to rubyforge
recently, I suppose.
You can still download it via cvsweb:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/?cvsroot=ripper

v 0.1.0, yes, but possibly it c an help you

···

il Tue, 10 Feb 2004 01:31:07 -0600, Charles Comstock cc1@cec.wustl.edu ha scritto::

gabriele renzi wrote:

il Mon, 09 Feb 2004 21:15:37 GMT, Martin DeMello >> martindemello@yahoo.com ha scritto::

Any nice way to parse a block of ruby code, and return a list of all the
variable names?

did you looked at ripper? it’s on rubyforge

Umm the project hasn’t released any files and doesn’t have a web page…

Thanks - will take a look that that.

martin

···

gabriele renzi surrender_it@remove.yahoo.it wrote:

well, ripper.rb has been out for a while, but moved to rubyforge
recently, I suppose.
You can still download it via cvsweb:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/?cvsroot=ripper

v 0.1.0, yes, but possibly it c an help you