Mirko Stocker wrote: > On Wednesday 06 December 2006 22:54, Werner Schuster (murphee) wrote: > >> (http://www.zenspider.com/ZSS/Products/ParseTree/ ), >> and moving to the latest JRuby trunk fixed a lot of things I had >> problems with in the old code. >> > Sounds interesting :) Do you have that stuff in a publicly accessible > repository It's in the JRuby Extras project (http://rubyforge.org/projects/jruby-extras/ ), (WWW SVN interface: http://rubyforge.org/viewvc/trunk/jparsetree/?root=jruby-extras )
The code is quite ugly right now, and I have to add the test suites and samples to see how it's used (and I need to do some nasty hacking to weasel out the AST Nodes from the Ruby runtime for methods). At the moment it's possible to turn some Ruby code (as string) into a ParseTree s-expr. It's quite useful to get to know the Ruby AST and makes it easy to write tools for Ruby in Ruby. murphee -- Blog @ http://jroller.com/page/murphee Maintainer of EclipseShell @ http://eclipse-shell.sourceforge.net/ ------------------------------------------------------------------------- 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