(don't bash me too hard) Python interpreter in JavaScript

Ian Kelly ian.g.kelly at gmail.com
Tue Nov 15 15:52:49 EST 2011


On Tue, Nov 15, 2011 at 1:37 PM, Passiday <passiday at gmail.com> wrote:
> Hello,
>
> I am looking for a way how to bring Python interpreter to JavaScript, in order to provide a web-based application with python scripting capabilities. The app would have basic IDE for writing and debugging the python code, but the interpretation, of course, would be done in JavaScript. I'd like to avoid any client-server transactions, so all the interpretation should take place on the client side. The purpose of all this would be to create educational platform for learning the programming in python.
>
> I hoped somebody already had done something like this, but I couldn't google up anything. I've found some crazy project emulating PC in JavaScript (and even running Linux on top of it), but not a python interpreter.

You could take a look at pyjamas, but it's precompiled.  I don't know
whether they have support for runtime compilation at all.



More information about the Python-list mailing list