[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

First cut Perl to Ruby conversion?

John Carter

3/13/2007 8:17:00 PM

2 Answers

ck1

3/13/2007 8:58:00 PM

0


> Question:
>
> I know a full perl to ruby translator is hopeless, the only thing that
> can parse Perl is perl. Has anyone a "first rough cut" approximate
> perl to ruby convertor?


Oh I'd be so happy too, if someone would have such a translator!

eden li

3/14/2007 2:04:00 AM

0

exec("perl script.pl")?

Seriously though, if it's a pain to work with now, imagine what a
nightmare it will be after you run it through some sort of
translator. Why not just rewrite it in ruby?

On Mar 14, 4:16 am, John Carter <john.car...@tait.co.nz> wrote:
> So I have a perl script I wrote a year or three back. Not bad
> programming style, but its a pain to work with.
>
> Question:
>
> I know a full perl to ruby translator is hopeless, the only thing that
> can parse Perl is perl. Has anyone a "first rough cut" approximate
> perl to ruby convertor?
>
> (It occurs to me translating bytes codes from parrot into ruby may be
> an easier way...)
>
> John Carter Phone : (64)(3) 358 6639
> Tait Electronics Fax : (64)(3) 359 4632
> PO Box 1645 Christchurch Email : john.car...@tait.co.nz
> New Zealand