On Dec 23, 2011 3:47 AM, "Shlomi Fish" <shlo...@shlomifish.org> wrote: > > On Fri, 23 Dec 2011 13:44:50 +0530 > a b <testa...@gmail.com> wrote: > > > Any thoughts? > > Writing a Perl to python converter would not be very trivial, and I'm not sure > it will be guaranteed to work 100% well. See: >
I think the bigger issue might be that it would produce such butt ugly code that no one would use it (and I'm not cracking on python here). I think you'd end up using Deparse for getting you 90% there but then you'd run into edge cases that would force you to look at the walking the pad and stack trace. Also maybe perldoc perlguts That said, I wouldn't mind helping with such a project. It would be a great way to get really intimate with both languages and interpreters (and the p5p group). It would also get me closer to figuring out static analysis of interpreted languages.