Re: C/C++, Perl, etc. to Python converter

2007-01-05 Thread Uwe Grauer
mm wrote: > > Is there a Perl to Python converter? > Or in general: a XY to Python converter? > > Is see, that Python is much better then Perl anyway. > But for beginners, they whant to konw how is this done with Python etc. > > Sure, there are some docus out there in the internet. But a convert

Re: C/C++, Perl, etc. to Python converter

2007-01-05 Thread Diez B. Roggisch
>> It is definitely _not_ possible. There are so many design decisions >> that are differing based on what a language offers - e.g. generators, >> garbage collection, precise control over memory layout and so on. > >Inter-language translators have been written. There's usually > a performan

Re: C/C++, Perl, etc. to Python converter

2007-01-05 Thread Paddy
mm wrote: > Is there a Perl to Python converter? > Or in general: a XY to Python converter? > > Is see, that Python is much better then Perl anyway. > But for beginners, they whant to konw how is this done with Python etc. > > Sure, there are some docus out there in the internet. But a converter?

Re: C/C++, Perl, etc. to Python converter

2007-01-04 Thread John Nagle
Diez B. Roggisch wrote: > >> >> I think that it *is* possible to do it, but a whole lot of work had to >> be done to achieve this. It is all about how many rules (like how to >> convert this block of unreadable code of language X into a readable >> python block) you are willing to find/program (an

Re: C/C++, Perl, etc. to Python converter

2007-01-03 Thread Diez B. Roggisch
> > I think that it *is* possible to do it, but a whole lot of work had to > be done to achieve this. It is all about how many rules (like how to > convert this block of unreadable code of language X into a readable > python block) you are willing to find/program (and these are a lot). It > is a

Re: C/C++, Perl, etc. to Python converter

2007-01-03 Thread Thomas Ploch
Matimus schrieb: > I don't know of a converter, one may exist. I have seen similar > requests though and will give you a similar response to what I have > seen. A converter, if it exists, may be able to produce working code > but _not_ readable code. Python is a language whose strength comes > from

Re: C/C++, Perl, etc. to Python converter

2007-01-03 Thread Richard Charts
mm wrote: > Is there a Perl to Python converter? > Or in general: a XY to Python converter? > > Is see, that Python is much better then Perl anyway. > But for beginners, they whant to konw how is this done with Python etc. > > Sure, there are some docus out there in the internet. But a converter?

Re: C/C++, Perl, etc. to Python converter

2007-01-03 Thread Michael
Yes, I konw what you mean. And thats the right way to do it - for beginners. --But not for someone who allready know programmings things for many years. They ask themself: How can I do this in Python? I can remember, it was that-way with Perl or C or C++ or whatever. So, not only a ververter c

Re: C/C++, Perl, etc. to Python converter

2007-01-03 Thread Matimus
I don't know of a converter, one may exist. I have seen similar requests though and will give you a similar response to what I have seen. A converter, if it exists, may be able to produce working code but _not_ readable code. Python is a language whose strength comes from, among other things, its r

Re: C/C++, Perl, etc. to Python converter

2007-01-03 Thread Diez B. Roggisch
mm wrote: > > Is there a Perl to Python converter? > Or in general: a XY to Python converter? > > Is see, that Python is much better then Perl anyway. > But for beginners, they whant to konw how is this done with Python etc. > > Sure, there are some docus out there in the internet. But a conver