pyjamas pyv8run converts python to javascript, executes under command-line

Daniel Fetchinson fetchinson at
Sun Sep 20 03:08:09 CEST 2009

>>>>>> the pyjamas project is taking a slightly different approach to achieve
>>>>>> this same goal: beat the stuffing out of the pyjamas compiler, rather
>>>>>> than hand-write such large sections of code in pure javascript, and
>>>>>> double-run regression tests (once as python, second time converted to
>>>>>> javascript under pyv8run, d8 or spidermonkey).
>>>>>> anyway, just thought there might be people who would be intrigued (or
>>>>>> horrified enough to care what's being done in the name of computer
>>>>>> science) by either of these projects.
>>>>> I've added pyjamas to the implementations page on the Python Wiki in
>>>>> the compilers section:
>>>> In what way is pyjamas a python implementation? As far as I know
>>>> pyjamas is an application written in python that is capable of
>>>> generating javascript code. Does this make it a 'python
>>>> implementation'? That would be news to me but I've been wrong many
>>>> times before.
>>> It converts Python code to Javascript.
>> The question is whether it converts Python code to JavaScript code with
>> the same behavior.  I think you're implying that it does, but you left
>> it implicit, and I think the point is central to deciding if pyjamas is
>> a Python implementation or not, so I thought I'd try to make it explicit.
>> Does pyjamas convert any Python program into a JavaScript program with
>> the same behavior?
> Barring the unimplemented libraries and bugs, yes. If you read the original
> post in this thread, you will see that on the roadmap is running the entire
> Python regression suite.

Okay, this is true, something I missed.


Psss, psss, put it down! -

More information about the Python-list mailing list