From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2003-01-21T17:55:52+09:00 Subject: Re: Automating Perl -> Ruby translation? In article <179409057493.20030121091049@integ.ru>, Bulat Ziganshin wrote: >Hello Phil, > >Friday, January 17, 2003, 9:47:16 PM, you wrote: >PT> Parsing Perl is not easy... >PT> Is there any tool for Perl that gives you a parse tree of some Perl >PT> script? If there is then that'd be a good place to start. > >PT> Otherwise, I think that it's mostly wasted effort.... better to spend >PT> energy trying to get something like Cardinal working. > >of course, perl interpreter. or i am wrong? > Cardinal being a project to create a Ruby frontend for Parrot (the Perl6 VM). If the bird ever flys then it'll be fairly easy to call Perl libraries from Ruby. On the otherhand, there is something to be said for translating your favorite Perl modules into Ruby. You'll certainly be able to make them conform to 'The Ruby Way' more easily if you do this by hand than if you use some automated tool to do it for you and in the end I think you'll end up with a better package. Phil -- "Or perhaps the truth is less interesting than the facts?" Amy Weiss (accusing theregister.co.uk of engaging in 'tabloid journalism') Senior VP, Communications Recording Industry Association of America