You are here:

Overview: Jangaroo Compiler

Jangaroo's central tool is the ActionScript-3-to-JavaScript compiler jooc. It takes source code written in a subset of ActionScript 3 and translates it into JavaScript 1.x that is understood by current browsers and other JavaScript engines like Rhino.

The compiler can generate debuggable code that is very similar to your ActionScript 3 source code, or deployment code that is more compact. We provide a command line version, an Ant task, and a Maven plug-in (recommended) to help you integrate the compiler into your build process.

A small runtime written in JavaScript (4kb compressed) takes care of interpreting the concise compiled class format.

The Jangaroo tutorial helps you to install the compiler and get started with using it. More detailed information can be found in the compiler reference.