Re: [jruby-dev] ast questions

2009-02-28 Thread Thomas E Enebo
HEH...nice catch. It is not put into dist I am sure..adding issue to get into RC2. Ben if you are interested in hacking you may end up liking working off of svn directly. -Tom On Fri, Feb 27, 2009 at 7:51 PM, Charles Oliver Nutter wrote: > Ben Evans wrote: >> >> Thanks. Is this in 1.2.0RC1? Or

Re: [jruby-dev] ast questions

2009-02-27 Thread Charles Oliver Nutter
Ben Evans wrote: Thanks. Is this in 1.2.0RC1? Or is it only in svn? I seem to be having problems with it: CatBasket:~ boxcat$ jruby --version jruby 1.2.0RC1 (ruby 1.8.6 patchlevel 287) (2009-02-24 rev 9315) [i386-java] CatBasket:ruby_scratch boxcat$ jruby -S ast hw.rb ast:1: undefined method `a

Re: [jruby-dev] ast questions

2009-02-27 Thread Ben Evans
Thanks to everyone who responded - I've finally had a chance to spend a couple of hours on this tonight. On Fri, Feb 20, 2009 at 3:27 PM, Thomas E Enebo wrote: > On Fri, Feb 20, 2009 at 5:22 AM, Ben Evans > wrote: > > Hi, > > > > I'm doing some work with JRuby's ast, and I've run into a few que

Re: [jruby-dev] ast questions

2009-02-23 Thread Erno Mononen
Charles Oliver Nutter wrote: Thomas E Enebo wrote: Netbeans also has some visual AST representation window that can be opened in Window pull down. I'm pretty sure that was only in the early dev builds, and never shipped. It's not part of the standard distro, but you can install it from the

Re: [jruby-dev] ast questions

2009-02-20 Thread Charles Oliver Nutter
Thomas E Enebo wrote: What's the correct way to initialise a top-level static scope - is it: StaticScope scope = new LocalStaticScope(null); or something else? Yep. That is fine. In general it does not matter for LocalStaticScopes based on my explanation above as to how variables resolve fo

Re: [jruby-dev] ast questions

2009-02-20 Thread Charles Oliver Nutter
Thomas E Enebo wrote: Netbeans also has some visual AST representation window that can be opened in Window pull down. I'm pretty sure that was only in the early dev builds, and never shipped. - Charlie - To unsubscribe from t

Re: [jruby-dev] ast questions

2009-02-20 Thread Thomas E Enebo
On Fri, Feb 20, 2009 at 6:15 AM, Mirko Stocker wrote: > On Friday 20 February 2009 12:22:25 Ben Evans wrote: >> Btw, is there a way to ask JRuby to just produce an ast from a .rb, output >> it and stop? Or is it just a case of using jdb and a breakpoint? > > When I was working with the JRuby AST (

Re: [jruby-dev] ast questions

2009-02-20 Thread Thomas E Enebo
On Fri, Feb 20, 2009 at 5:22 AM, Ben Evans wrote: > Hi, > > I'm doing some work with JRuby's ast, and I've run into a few questions > about how the various classes are wired together. > > Any hints on the below would be very helpful - I'm making notes as I go and > would be very happy to polish th

Re: [jruby-dev] ast questions

2009-02-20 Thread Mirko Stocker
On Friday 20 February 2009 12:22:25 Ben Evans wrote: > Btw, is there a way to ask JRuby to just produce an ast from a .rb, output > it and stop? Or is it just a case of using jdb and a breakpoint? When I was working with the JRuby AST (Refactoring), I wrote a plug-in for the Ruby Development Tool

[jruby-dev] ast questions

2009-02-20 Thread Ben Evans
Hi, I'm doing some work with JRuby's ast, and I've run into a few questions about how the various classes are wired together. Any hints on the below would be very helpful - I'm making notes as I go and would be very happy to polish them for a wiki page or javadoc comments if that would be useful.