News for hackers. Stuff that matters.
Re:CoffeeScript, a little language that compiles to JavaScri... by mbenjaminsmith on Thursday December 24, 2009 @02:16PM (#1014234)
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.

Re:CoffeeScript, a little language that compiles to JavaScri... by JeffJenkins on Friday December 25, 2009 @09:58AM (#1015027)
You're looking for this: 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