From: Caleb Clausen Date: 2009-07-22T22:00:59+09:00 Subject: Re: Best gem to parse Ruby with? On 7/21/09, Tony Arcieri wrote: > ParseTree is great but it seems to only work with 1.8.x MRI which is > unacceptable to me. I guess I should've stated that outright. I'm fine > with an FFI solution but not something which needs a non-FFI native > extension. RedParse doesn't work in 1.9 yet either, tho. I forgot to mention RubyNode before. That fills out the list of ruby parsing libraries I know of. So you want something that: works in 1.9 written in pure ruby doesn't use extensions (except maybe thru FFI) Taken together, I think these requirements eliminate all the reasonable candidates. Why do you care whether it uses FFI or the traditional extension api? For that matter, why do you care what language it's written in?