3 ms·
Cool. I've been dreaming of writing a similar python => javascript (which someone has probably done already). My only worry about something like this is the ex
by mbenjaminsmith 17y ago
Cool. I've been dreaming of writing a similar python => javascript (which someone has probably done already).
My only worry about something like this is the extra step of compiling, though I run a script that compresses via YUI comp. anyway...
Thanks for sharing.
- JeffJenkins 17y agoYou're looking for this: http://pyjs.org/ http://pyjs.org/ I had written a mostly functional python->JS translator using the compiler and compiler.ast packages, but I suspect this is more complete and actively developed. My package is here if you wanted something stand-alone (but only 80% complete) to play around with: http://github.com/jeffjenkins/py2js http://github.com/jeffjenkins/py2js