Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.04; 'ide': 0.05; 'interpreter': 0.05; 'javascript,': 0.05; 'scripting': 0.05; 'subject:Python': 0.06; 'python': 0.08; 'interpreter.': 0.09; 'runtime': 0.09; 'subject:don': 0.09; 'debugging': 0.13; 'side.': 0.16; 'linux': 0.17; 'wrote:': 0.18; 'programming': 0.21; 'header :In-Reply-To:1': 0.23; 'code,': 0.27; 'somebody': 0.27; '(and': 0.28; 'message-id:@mail.gmail.com': 0.29; 'received:209.85.214': 0.30; 'received:mail-bw0-f46.google.com': 0.30; 'nov': 0.31; 'pm,': 0.31; 'tue,': 0.32; 'app': 0.32; 'to:addr:python-list': 0.32; "i've": 0.33; 'done': 0.33; 'all.': 0.34; 'crazy': 0.34; 'running': 0.35; 'project': 0.35; 'google': 0.36; 'something': 0.36; 'but': 0.37; 'could': 0.38; 'received:google.com': 0.38; 'hello,': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'client': 0.38; "i'd": 0.39; 'should': 0.39; 'basic': 0.39; "couldn't": 0.39; "it's": 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; '2011': 0.62; 'order': 0.62; 'anything.': 0.71; 'subject:hard': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=3YgdyQJFiZ0zMIVbGlM+HipkaeXdMYhMDhCKV0ud3QE=; b=D+llh0gqXsZGMWGPhHEEcZopugH4dH3btLABZnZ2AZ1kAXRCtnw+gd9ctewbeHlSiN RKLdDAp8UjUm2keYtpzquX76I/sCVBI/QgrJI5ZJqPuHAKe0Jh6TaNEvijTYP2paVAAL UguvK8EHJ5T37AUb0oGmhmNkNgD5AUwuoPa3c= MIME-Version: 1.0 In-Reply-To: <11816254.67.1321389423944.JavaMail.geo-discussion-forums@vbay19> References: <11816254.67.1321389423944.JavaMail.geo-discussion-forums@vbay19> From: Ian Kelly Date: Tue, 15 Nov 2011 13:52:49 -0700 Subject: Re: (don't bash me too hard) Python interpreter in JavaScript To: Python Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1321390401 news.xs4all.nl 6912 [2001:888:2000:d::a6]:54939 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15739 On Tue, Nov 15, 2011 at 1:37 PM, Passiday 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, b= ut 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 educa= tional platform for learning the programming in python. > > I hoped somebody already had done something like this, but I couldn't goo= gle 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.