Source Code

Get the code, build and modify to your needs.

Current Release

The current version of Apache Royale is 0.9.4, released in December, 2018. It is beta-quality. This means that Royale may not work entirely as you or we want it to, and that certain “standard” components or functions are not yet available. However, you can create applications in Royale and compile them to run either in a browser window or on the Flash/AIR platforms.

Download the source code of Royale from one of the Apache mirror sites:

Older Releases

Searching for older releases of Apache Royale? Please, take a look in GitHub Apache Royale Releases page.

Repositories

Apache Royale is composed of the following repositories.

Compiler

The Compiler is designed to transpile MXML and ActionScript to JavaScript, SWF and potentially other output definitions. We are working on other possible outputs like WebAssembly but many others could be as well added.

You can check out the compiler source via git using the following commands:

git clone https://github.com/apache/royale-compiler.git royale-compiler
cd royale-compiler
git checkout develop

Typedefs

Typedefs are SWC files designed to allow type-checking for application development. They contain the type definitions in ActionScript, but none of the actual implementation of the Javascript code.

These are used for type-checking at compile-time, but are not cross-compiled and included as Javascript code for deployment. To use these typedef swcs, the native Javascript code libraries are linked at run-time in the HTML.

You can check out the typedefs source via git using the following commands:

git clone https://github.com/apache/royale-typedefs.git royale-typedefs
cd royale-typedefs
git checkout develop

Framework (asjs)

ASJS Framework is a collection of SWC files which can be used to make application development easier. This includes core language features in ActionScript which do not exist in Javascript, abstractions of HTML elements, component sets and more.

Check out the asjs source via git using the following commands:

git clone https://github.com/apache/royale-asjs.git royale-asjs
cd royale-asjs
git checkout develop

Join Apache Royale

Apache Royale needs your help. Want to be part of our community and contribute?

Join Us!

You can be part of Apache Royale and start using and contributing to this project. We need your skills to make this great technology reach the next step. You can start by joining us in our mailing list.