Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'python': 0.08; '21,': 0.09; 'subject:don': 0.09; 'url:github': 0.09; '2.7': 0.13; 'received:209.85.210.174': 0.13; 'received :mail-iy0-f174.google.com': 0.13; 'brendan': 0.16; 'compiler,': 0.16; 'from:addr:alec.taylor6': 0.16; 'from:name:alec taylor': 0.16; 'numpy': 0.16; 'cc:addr:python-list': 0.16; 'mon,': 0.16; 'wrote:': 0.18; 'interesting.': 0.18; 'cc:no real name:2**0': 0.20; 'appropriate': 0.22; 'assume': 0.22; 'header:In-Reply-To:1': 0.22; 'path,': 0.23; 'cc:2**0': 0.24; 'libraries': 0.24; 'import': 0.27; 'url:mailman': 0.28; '(and': 0.28; 'message- id:@mail.gmail.com': 0.28; 'compile': 0.29; 'unknown': 0.29; 'cc:addr:python.org': 0.29; 'nov': 0.29; 'pm,': 0.29; 'url:wiki': 0.29; 'carl': 0.30; 'languages)': 0.30; 'app': 0.31; 'third- party': 0.32; 'url:listinfo': 0.32; 'there': 0.33; 'it.': 0.34; '(not': 0.35; 'modules': 0.35; 'project': 0.35; 'url:python': 0.36; 'file': 0.36; 'instead,': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'could': 0.37; 'bunch': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'put': 0.38; 'url:org': 0.39; 'called': 0.40; 'received:209': 0.40; '2011': 0.61; 'your': 0.61; 'here:': 0.66; '"do': 0.67; 'url:it': 0.71; 'demo': 0.80; '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:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=mudqU6uyP8013SJ9lBWxTAtBpfxLmHs2p6N3O/gEhIM=; b=YPcKQsDIGA6A+k8v8thoLS/piJnSEAmTIBoS2CsEajxowME9/FJEtBvuDxnQmZv0xh lDYb7m69Xs9f4Xb88GJW16uJECXAjMhT4lBGSUumRXip1wKKhd1EeHmoZ6HJttDmXhB7 cy2moQwV/YyBQJGwH9923lr7zqtAGcFlGM2bg= MIME-Version: 1.0 In-Reply-To: References: <11816254.67.1321389423944.JavaMail.geo-discussion-forums@vbay19> <27174986.458.1321411879812.JavaMail.geo-discussion-forums@yqoo7> Date: Mon, 21 Nov 2011 20:07:53 +1100 Subject: Re: (don't bash me too hard) Python interpreter in JavaScript From: Alec Taylor To: "OKB (not okblacke)" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1321866477 news.xs4all.nl 6912 [2001:888:2000:d::a6]:45739 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15992 Just compile your python to C :] On Mon, Nov 21, 2011 at 6:41 PM, OKB (not okblacke) wrote: > Carl Banks wrote: > >> Some people have already made an LLVM-to-Javascript compiler, and >> have managed to build Python 2.7 with it. >> >> The LLVM-to-Javascript project is called emscripten. >> >> https://github.com/kripken/emscripten/wiki >> >> Demo of Python (and a bunch of other languages) here: >> >> http://repl.it/ > > =A0 =A0 =A0 =A0Very interesting. =A0Is there a simple way to add third-pa= rty > libraries to these? =A0I assume that for pure-Python modules you could > just put a python file in the appropriate place and import it, but what > about if you wanted a web app that used numpy or something? =A0Is that > feasible? > > -- > --OKB (not okblacke) > Brendan Barnwell > "Do not follow where the path may lead. =A0Go, instead, where there is > no path, and leave a trail." > =A0 =A0 =A0 =A0--author unknown > -- > http://mail.python.org/mailman/listinfo/python-list