Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.05; 'compiler': 0.05; 'before.': 0.09; 'subject:skip:a 10': 0.09; 'compilers': 0.16; 'emit': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'maintainable': 0.16; 'sebastian': 0.16; 'subject:Java': 0.16; 'wrote:': 0.16; 'intermediate': 0.18; 'programmer': 0.18; 'language': 0.19; 'machine': 0.21; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'source': 0.31; 'worked': 0.31; 'code': 0.31; 'compiled': 0.32; 'usually': 0.33; 'another': 0.34; '(for': 0.34; 'languages': 0.34; 'message-id:@gmail.com': 0.35; 'to:addr:python-list': 0.35; 'but': 0.36; 'too': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'ones': 0.38; 'virtual': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'easily': 0.39; 'received:192': 0.39; 'some': 0.40; 'even': 0.61; 'making': 0.64; 'different': 0.64; 'charset:windows-1252': 0.65; 'engine.': 0.66; 'python-list': 0.66; 'cheung': 0.84; 'idiomatic': 0.84; 'step,': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Fri, 12 Jun 2015 08:30:56 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Java to Python autoconverters References: <4d3e5d71-72f2-47ea-b3f3-25630019ce83@googlegroups.com> In-Reply-To: <4d3e5d71-72f2-47ea-b3f3-25630019ce83@googlegroups.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434119468 news.xs4all.nl 2888 [2001:888:2000:d::a6]:48935 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92528 On 06/12/2015 05:36 AM, Sebastian M Cheung via Python-list wrote: > Are these available? Any good ones to recommend? The only use case for such a program that I can think of is a compiler that is just using another language as an intermediate step, and that language is usually going to be compiled (for example, several compilers for different languages emit C code) or some other virtual machine like a Javascript engine. I don't want to put this too harshly, but the job of translating from one language to another, and making the code idiomatic and maintainable is up to you the programmer. If you are a programmer you should be able to easily do this, even if you have not worked with the source language before.