Path: csiph.com!usenet.pasdenom.info!news.albasani.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <2456674.8Co10HKgCB@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Mon, 18 Nov 2013 00:59:44 +0100 User-Agent: KNode/4.10.5 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. MIME-Version: 1.0 Lines: 39 NNTP-Posting-Date: 18 Nov 2013 00:59:46 CET NNTP-Posting-Host: 48ddcf52.newsspool2.arcor-online.net X-Trace: DXC=lcPBf0:Sna_PU8j_I0DN6_A9EHlD;3YcR4Fo<]lROoRQ8kF If someone is interested about a fast Python to Javascript translator > (not a compiler like Brython which is another beast) > > Here is a link of a RapydScript Tester. > For now it's only for windows. > > Regards > > http://salvatore.pythonanywhere.com/static/Projects/RapydScriptDemo.exe > > (I can if there is needs publish it for mac and linux) The first thing that you do not know is that there is no Javascript: I would consider this basic knowledge a prerequisite to writing anything that generates code that can be executed in a subset of sufficiently conforming implementations of ECMAScript. And why should anyone run the risk of executing malware when executing your anonymously published binary? Where is your source code? I could probably do the same on *x (that includes Mac OS X) with a simple shell script (sed(1) comes to mind). But a language “translator” does not necessarily create good code. As you should know, there are things in Python that you would do quite differently in other programming languages because Python by comparison is very expressive indeed and has a big runtime library – approaches that are called “pythonic” because of that. For a start, ECMAScript implementations do not need to include an output mechanism as Python does; something like Python's “print(…)” is provided by the respective runtime environment instead. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.