Processing 2.0 will "compile" to JavaScript
wiki.processing.org
wiki.processing.org
I learned about Processing 2.0 from here:
http://www.creativeapplications.net/processing/generative-ar...
I already knew about the IDE modes; being able to generate an Android app straight from Processing code is pretty slick (especially as you mix in stuff like Pure Data) though it has some limitations.
The above link adds, "Processing 2.0 adds a third option, 'JavaScript', which allows you to publish direct to HTML5 Canvas (using the now in-built Processing.js). And it works. It just works."
The best Processing page I could find that included this was the changes page, which also nicely lists other new features.
I picked the word "compile", in quotes, because while see as in fact compiling, I also tend to think of compiling as taking a high level level and outputting something lower-level. Though that's not a necessary condition, I had a feeling that if I left off the quotes there'd be complaints about how this wasn't really compiling, title is misleading, etc.. But there you go.
edit: also, video: http://vimeo.com/28117873
You enter code using the Processing language, and if you've selected the JavaScript "mode" it will output JavaScript that uses processing.js and canvas.
Prior to 2.0 the modes were "standard" (i.e. Java byte code) and "android" (Dalvik byte code, I presume, since you get an apk file).
Saying that it will compile to JavaScript implies (or at least suggests) that it will no longer compile to Java.
The page clearly says that JavaScript will be one of several "modes". C'mon.