[pypy-dev] pypy appears to have entirely removed all mention of javascript back-end support from web site
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Wed Apr 22 14:45:10 CEST 2009
hi,
i was just checking http://wiki.python.org/moin/WebBrowserProgramming
specifically the python-to-javascript compiler section and was
surprised to find that the link to the "JS Using" tutorial no longer
works. on further investigation, it would appear that pypy have
completely removed all mention of javascript as a back-end from the
pypy documentation. all tutorials are gone. the demo "bnb" fails.
as the lead developer of pyjamas, the python-to-javascript compiler,
this leaves me slightly ... concerned, as it implies that pyjamas is
now the sole and exclusive free software python compiler which can be
used seriously by developers to create web applications.
what seems to be the problem?
is there a technical / language-translation issue that cannot be
overcome? someone said (on the LLVM unladen/swallow list) that adding
advanced features like metaclass support would be hard - this was
proven to be incorrect, by writing an implementation of "type()" for
pyjamas in under 24 hours and about 100 lines of javascript. pyjamas
is tiny by comparison (it uses the existing AST / Compiler module /
translator) to pypy, so there is very little actually going on, which
makes it that much easier to follow its example. the main pyjs
compiler is what... 1400 lines of python, and pyjslib.py which
contains the majority of the builtins (dict, list, tuple, str) is a
further 1400 lines.
so - what seems to be the problem?
or am i mistaken and the javascript back-end support is just in the
process of being rewritten?
l.
More information about the Pypy-dev
mailing list