From: Aureliano Calvo Date: 2007-11-19T10:10:47+09:00 Subject: Re: Ruby to Python translator > > Hi all! > > I'm thinking about implementing a ruby to python translator (this is a > > program that takes a ruby program and generates its equivalent program > > in python). In order to get started, I would like to know if there is > > a ruby grammar implemented in python or with another tool. > > You might have a look at the "Ruby top down Grammar" project. It is a > hosting language neutral Ruby grammar. You might translate that > grammar > to a Python recursive descent parser or interprete the grammar from > some > Python code. If you know Python well that should be doable in a few > days > time. Be warned that you would be the first client of this grammar. That's what I was looking for, tanks.