Thanks Nicholas, that's precisely what I need.

On 27 January 2012 19:02, Nicholas Jefferson <[email protected]>wrote:

> I want to take a Ruby expression (as a string) and parse it to an AST or
>> sexp representation, make some modifications, then 'compile' it back to
>> Ruby again.
>>
>> This must work on Ruby 1.9.2 +.  So far ruby_parser looks like it will
>> get me an sexp, but won't round trip.
>>
>> Any ideas?
>>
>
> ruby2ruby
>
> Thanks,
>
> Nicholas
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected]**.
> To unsubscribe from this group, send email to rails-oceania+unsubscribe@**
> googlegroups.com <rails-oceania%[email protected]>.
> For more options, visit this group at http://groups.google.com/**
> group/rails-oceania?hl=en<http://groups.google.com/group/rails-oceania?hl=en>
> .
>
>


-- 
James

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to