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!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.134.4.91.MISMATCH!news2.euro.net!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.001 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; 'subject:don': 0.09; 'debugging': 0.13; 'side.': 0.16; 'stef': 0.16; 'linux': 0.17; 'cheers,': 0.18; 'wrote:': 0.18; 'seems': 0.19; 'programming': 0.21; 'header:In-Reply-To:1': 0.23; 'code,': 0.27; 'somebody': 0.27; '(and': 0.28; 'do.': 0.30; 'project?': 0.30; 'app': 0.32; 'to:addr:python-list': 0.32; "i've": 0.33; 'header:User-Agent:1': 0.33; 'source': 0.33; 'done': 0.33; 'message-id:@gmail.com': 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; 'received:192': 0.38; 'client': 0.38; "i'd": 0.39; 'should': 0.39; 'basic': 0.39; "couldn't": 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; '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=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=hH1u3lhgklKgkzTzH68fY5/JbQhIejbek6LYkbgBmKY=; b=jgJ/PJj/DUzIDH8A8N9grCTcoQVqP35TQlWmeNdh0xYCCanJ0+IlXbSzAp4FmAwRex RRDhGgZLFPaUmmt5TRAof13Cd7qtoK9XgJqjjHveBzQg7cI3s8SB1fUfgoksnfCQJImd ssVG598LYVyPkeis4aTNTCbz5Qi5R3rC3/Uuw= Date: Tue, 15 Nov 2011 22:08:28 +0100 From: Stef Mientki User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: python-list@python.org Subject: Re: (don't bash me too hard) Python interpreter in JavaScript References: <11816254.67.1321389423944.JavaMail.geo-discussion-forums@vbay19> In-Reply-To: <11816254.67.1321389423944.JavaMail.geo-discussion-forums@vbay19> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1321391302 news.xs4all.nl 6848 [2001:888:2000:d::a6]:49392 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15740 On 15-11-2011 21:37, 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, 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. > > Of course, I could take the python source and brutally recode it in JavaScript, but that seems like awful lot of work to do. Any ideas how I should proceed with this project? skulpt ? cheers, Stef