view.py
view.py copied to clipboard
Python to JavaScript Compliation
trafficstars
This is already sort of supported via view.compile, but it's extremely buggy and undocumented as of now. It probably needs to get rewritten.
The biggest issue encountered was that some things behave differently (such as dictionary hashing) in JavaScript, breaking things. As a solution, Python's global's basically need to get rewritten in JavaScript to make this usable.
#12 will be coming first to design a proper API.