Brython - Python to Javascript translator
I'm genuinely shocked that this made it to the top of hackernews. I would expect better. While the idea of having the Python interpreter in the browser is very likely better than having a compiler Python -> JS (if we care about Python), the implementation here is both half assed and really bad. It takes quite a bit of effort to create a python interpreter that can be called python. This is nowhere near there. On top of it double-interpretation in dynamic languages is very slow and I doubt someone is willing to pay that price here. A good example of low quality is here:<p><a href="http://code.google.com/p/brython/source/browse/trunk/py_classes.js#140" rel="nofollow">http://code.google.com/p/brython/source/browse/trunk/py_clas...</a><p>this is both incorrect (exceptions are propagated, <a href="http://paste.pound-python.org/show/28457/" rel="nofollow">http://paste.pound-python.org/show/28457/</a>) and has wrong complexity. It's not even a dict at all!