Hacker News new | ask | show | jobs
by md224 4765 days ago
I do like the idea, but it inevitably suffers from the same flaw that afflicts all other compile-to-js libraries: making sense of errors will still require knowledge of how the underlying javascript works.

Perhaps a development plugin for Chrome would allow debugging in python?

2 comments

Source maps should resolve this issue
Good point! I ashamed to say I hadn't thought much about how source maps will pave the way for anything-to-javascript web programming... very cool.
Every exception in brython has original line source, you don't need source maps. The thing is that you can't type Python in the console, yet.
Just a matter of implementing a Chrome extension to extend the developer tools with the compiler.