Skip to content

Apache Royale Source Code Repositories

Carlos Rovira edited this page Nov 19, 2017 · 7 revisions

Apache Royale is composed of the following repositories.

Compiler

The Compiler is designed to transpile MXML and ActionScript to JavaScript and potentially other output definitions. We are working on other possible outputs like WebAssembly or SWF, and 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
Clone this wiki locally