On Wednesday 06 December 2006 22:26, Werner Schuster (murphee) wrote:
> Don't know which JRuby you're using at the moment, but some Tom's fixes
> caused changes in NodeVisitor (a new visitRootNode method was added, but
> the visitScopeNode method was removed). There was also some reshuffling
> in the interface of some Node types. If you're using a 0.9.1 (or
> earlier) code, you'll probably get some compile errors when updating. (I
> had a fun time with code that used NodeVisitor, which suddenly started
> failing with strange messages after the update).

Our version is even older then 0.9.1, and has some modifications (mostly 
positioning fixes, so that part shouldn't be a problem). We also had to 
change the interfaces of some nodes, to add setters for variable names for 
example, but we didn't break any JRuby-functionality and have tons of unit 
tests, so migrating should be doable in time. What I fear quite a bit is the 
changes around the ScopeNode, which we use a lot. But we can work with Defn- 
and DefsNodes instead, so that should work too. There are also things that 
are easier to do with the newer version, I believe that LocalVarNodes now 
know their name and not just their 'count'. And there's still the issue of 
the comments we have to attach to the AST. But that has to wait until after 
the diploma thesis and our short trip to austria.

> Or maybe you already knew this, then I'm sorry for smartassing around
> ;-) ...

That's no problem :-)

Attachment: pgpOUNu8XEyPg.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development

Reply via email to