Re: [jruby-dev] Ruby Parser

2009-06-30 Thread Alberto Bacchelli
I was looking at the same example, so we agree that it is a good one :) Thank you for your help. Ciao, Alberto 2009/6/30 Nick Sieger : > Looks like there's a sample here of actually using it from Ruby with > JRuby's java integration: > > http://kenai.com/projects/jruby-parser/sources/mercurial/c

Re: [jruby-dev] Ruby Parser

2009-06-30 Thread Nick Sieger
Looks like there's a sample here of actually using it from Ruby with JRuby's java integration: http://kenai.com/projects/jruby-parser/sources/mercurial/content/sample/simple.rb?rev=26 If you want to use it in pure Java it shouldn't be hard to translate that over. /Nick On Tue, Jun 30, 2009 at 1

Re: [jruby-dev] Ruby Parser

2009-06-30 Thread Alberto Bacchelli
It is exactly what I was looking for! Thank you! Do you know if there is some documentation/examples for it somewhere? Thank you again, Alberto 2009/6/26 Nick Sieger : > On Fri, Jun 26, 2009 at 12:06 PM, Alberto Bacchelli wrote: >> Hi, >> >> I am trying to extract the object-oriented model of a g

Re: [jruby-dev] Ruby Parser

2009-06-26 Thread Nick Sieger
On Fri, Jun 26, 2009 at 12:06 PM, Alberto Bacchelli wrote: > Hi, > > I am trying to extract the object-oriented model of a generic Ruby system. > > It means that I would like to know: > > class names, > methods in each class, > methods arguments, > lines of code per method, > class hierarchies, > .

[jruby-dev] Ruby Parser

2009-06-26 Thread Alberto Bacchelli
Hi, I am trying to extract the object-oriented model of a generic Ruby system. It means that I would like to know: class names, methods in each class, methods arguments, lines of code per method, class hierarchies, ... I have the whole source code, and then I would like to parse it using Java t