The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Roodi on ParseTree instead of JRuby

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Marty Andrews

Posts: 190
Nickname: wry
Registered: Dec, 2003

Marty Andrews is an agile coach and developer for Thoughtworks Australia
Roodi on ParseTree instead of JRuby Posted: Sep 7, 2008 4:53 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by Marty Andrews.
Original Post: Roodi on ParseTree instead of JRuby
Feed Title: Ramblings of the Wry Tradesman
Feed URL: http://www.wrytradesman.com/blog/index.rdf
Feed Description: Marty Andrews talks about the day to day issues he faces as an agile coach on large enterprise applications in Australia.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Marty Andrews
Latest Posts From Ramblings of the Wry Tradesman

Advertisement

I started out building Roodi using the JRuby apis to parse Ruby code and build an AST. My main alternative to that was to use ParseTree. The advantage of using JRuby was twofold. Firstly - I could get access to newline characters as part of the AST, which I wanted to use in checks. Secondly - I could get access to line numbers, which I wanted to use as part of the error message output.

I've just sacrificed both of those advantages and switched the code base to use ParseTree instead. Why? Because it makes the tool more widely usable. I had my own non-JRuby projects that I was trying to run Roodi in, and it became a pain in the ass. Now I get much better portability, which is worth the sacrifices I had to make. I suspect I can patch line numbers in later, and I'm not that fussed about losing the checks that needed to check the newline characters.

Read: Roodi on ParseTree instead of JRuby

Topic: Smalltalk in Eclipse - Audio from StS 2008 Previous Topic   Next Topic Topic: Smalltalk in Eclipse - Video from StS

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use