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

Alec Taylor alec.taylor6 at gmail.com
Mon Nov 21 04:07:53 EST 2011


Just compile your python to C

:]

On Mon, Nov 21, 2011 at 6:41 PM, OKB (not okblacke)
<brenNOSPAMbarn at nobrenspambarn.net> 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/
>
>        Very interesting.  Is there a simple way to add third-party
> libraries to these?  I 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?  Is that
> feasible?
>
> --
> --OKB (not okblacke)
> Brendan Barnwell
> "Do not follow where the path may lead.  Go, instead, where there is
> no path, and leave a trail."
>        --author unknown
> --
> http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list