s2js icon indicating copy to clipboard operation
s2js copied to clipboard

Scala to Javascript compiler

S2JS Compiler Plugin

Demo Screencast: https://docs.google.com/leaf?id=0B5x_4fRggmLGMzA4MTAxYzktMmZjZS00Y2NlLTk0ZDktYzI4ZDdhNmIyMTUw&hl=en

Google Group: https://groups.google.com/forum/?pli=1#!forum/s2js

Scala-to-Javascript compiler plugin that produces annotated javascript suitable for the closure compiler.

It is a work in progress, probably not usable yet.

The easiest way to play with it (at least for me) is using eclipse. Edit the "outputDir" value in S2JSComponent and run S2JSPluginRunner.

You should be able to do step-through debugging.

To get an idea of what it can currently transform, take a look at: com.gravitydev.s2js.sample.Dialog