Skulpt is an entirely in-browser implementation of Python.
No preprocessing, plugins, or server-side support required, just write Python and reload.
Interestingly, it does not seem to be Python VM (C-based) cross-compiled to JavaScript. It appears to be Python compiler and byte-code interpreter written in JavaScript directly.
The compiler part of skulpt reads python code and generates a Javascript program. If you want to change the syntax of Python these are the files to look at. The syntax used in skulpt is taken right from the Python 2.6.5 distribution.
When you run the program in the browser the javascript part is 'evaled' by javascript.
No comments:
Post a Comment