From: Ryan Davis Date: 2009-07-23T05:50:57+09:00 Subject: Re: Best gem to parse Ruby with? On Jul 22, 2009, at 11:35 , Caleb Clausen wrote: > On 7/22/09, Tony Arcieri wrote: >> 1.9 support would be nice, but really I'm looking for something >> that works >> on JRuby. If it doesn't work on 1.9 I'm not too worried for the >> time being. > > Ah, ok. I don't know if RedParse works on JRuby or not; last I knew, > there were a number of strange things it (and its dependencies) were > doing that exposed bugs on JRuby. Those may well have been fixed by > now, tho. > > In the JRuby world, there is JParseTree, the JRuby version of > ParseTree. Probably, you could write your code to use ParseTree on MRI > and JParseTree on JRuby. You should try it first, to see if it works > for you. Nope. Last I looked JParseTree wasn't compatible with the Unified Ruby sexp format.