Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
muyuu
· 13y ago · 0 comments
I've seen that done already, but the resulting Python interpreter has no visibility of the DOM or access to the browser. You have basically a Python console, which is quite useless if what you want is to substitute Javascript.
Comments
[–]
zever
13y ago
Just for reference, there's an example of CPython compiled to JavaScript using Emscripten running in the browser at
http://syntensity.com/static/python.html