blob: 5750732b899af033e0e5cca6da38b09b6a58d299 [file] [log] [blame]
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="CACHE-CONTROL" content="NO-CACHE"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Source Code</title><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"><link rel="stylesheet" href="/css/styles.css"><link rel="shortcut icon" href="/img/favicon.ico"></head><body class="page"><header class="docs-header"><div class="container"><div class="topbar"><div class="topbar-left"><a href="/"><span class="site-title">Apache Royale</span></a></div><div class="topbar-center"></div><div class="topbar-right"><button class="topMenu-dropbtn"><i class="fa fa-bars"></i>&nbsp;Menu</button><ul class="topMenu"><li><a href="/features">Features</a></li><li><a href="https://apache.github.io/royale-docs/get-started">Get Started</a></li><li><a href="/download">Download</a></li><li><a href="/docs">Docs</a></li><li><a href="/blog">Blog</a></li><li><a href="https://github.com/apache/royale-asjs/wiki/Apache-Royale-Source-Code-Repositories"><i class="fa fa-github"></i> GitHub</a></li></ul></div></div></div></header><div class="page-content"><div class="container"><article><h1>Source Code</h1><p>Get the code, build and modify to your needs.</p><h2>Current Release</h2><p>The current version of Apache Royale is <strong>0.9.9</strong>, released in <strong>April 2022</strong>. It is <strong>beta quality</strong>. This means that Royale may not work entirely as you or we want it to, and that certain &quot;standard&quot; 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.</p><p>Download the source code for Royale from one of the Apache mirror sites:</p><div class="btn-group"><a class="btn btn-download" href="http://www.apache.org/dyn/closer.lua/royale/0.9.9/apache-royale-0.9.9-src.tar.gz"><i class="fa fa-download"></i> Apache Royale 0.9.9 Source (TAR.GZ)</a> <a class="btn btn-download" href="http://www.apache.org/dyn/closer.lua/royale/0.9.9/apache-royale-0.9.9-src.zip"><i class="fa fa-download"></i> Apache Royale 0.9.9 Source (ZIP)</a></div><h2>Older Releases</h2><p>Searching for older releases of Apache Royale? Please, take a look at the <a href="https://github.com/apache/royale-asjs/releases">Apache Royale Releases page on Github</a>.</p><h2>Repositories</h2><p>Apache Royale is composed of the following repositories.</p><h3>Compiler</h3><p>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.</p><p>You can check out the compiler source via git using the following commands:</p><pre><code class="language-sh">git clone //github.com/apache/royale-compiler.git royale-compiler
cd royale-compiler
git checkout develop
</code></pre><h3>Typedefs</h3><p>Typedefs are <em>.swc</em> library 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.</p><p>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 <em>.swc</em> files, the native JavaScript code libraries are linked at run-time in the HTML.</p><p>You can check out the typedefs source via git using the following commands:</p><pre><code class="language-sh">git clone //github.com/apache/royale-typedefs.git royale-typedefs
cd royale-typedefs
git checkout develop
</code></pre><h3>Framework (asjs)</h3><p>ASJS Framework is a collection of <em>.swc</em> library 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.</p><p>Check out the asjs source via git using the following commands:</p><pre><code class="language-sh">git clone //github.com/apache/royale-asjs.git royale-asjs
cd royale-asjs
git checkout develop
</code></pre></article></div></div><footer class="footer"><div class="footer-row"><div class="footer-column"><ul class="footer-list"><li class="apacheroyale"><a href="/">Apache Royale</a></li><li><a href="/">Home</a></li><li><a href="/features">Features</a></li><li><a href="/download">Download</a></li><li><a href="/ides">IDEs and Editors</a></li><li><a href="/showcase">Showcase</a></li><li><a href="/blog">Blog</a></li><li><a href="/team">Team</a></li><li><a href="/thanks-to">Thanks To</a></li><li><a href="https://apache.org/logos/#royale"><i class="fa fa-external-link-square"></i> Logos</a></li><li><a href="https://www.apache.org/licenses/"><i class="fa fa-external-link-square"></i> Apache License v2.0</a></li></ul></div><div class="footer-column"><ul class="footer-list"><li class="documentation"><a href="/docs">Documentation</a></li><li><a href="https://apache.github.io/royale-docs/get-started">Get Started</a></li><li><a href="/docs">Docs</a></li><li><a href="/asdoc">API Reference</a></li><li><a href="https://github.com/apache/royale-asjs/wiki"><i class="fa fa-github"></i>Wiki</a></li><li><a href="https://stackoverflow.com/questions/tagged/apache-royale"><i class="fa fa-stack-overflow"></i> StackOverFlow Tag</a></li></ul><ul class="footer-list"><li class="community"><a href="/get-involved">Community</a></li><li><a href="/get-involved">Get Involved</a></li><li><a href="/mailing-lists">Mailing Lists</a></li><li><a href="/faq">FAQ</a></li></ul><ul class="footer-list"><li class="development"><a href="/source-code">Development</a></li><li><a href="https://github.com/apache/royale-asjs/wiki/Apache-Royale-Source-Code-Repositories"><i class="fa fa-github"></i> Github</a></li><li><a href="https://github.com/apache/royale-asjs/issues"><i class="fa fa-github"></i> Issues</a></li><li><a href="/source-code"><i class="fa fa-code"></i> Source Code</a></li></ul></div><div class="footer-column"><ul class="footer-list"><li class="social_t">Social</li><li><a href="https://twitter.com/apacheroyale"><i class="fa fa-twitter"></i> Twitter</a></li><li><a href="https://facebook.com/ApacheRoyaleSDK/"><i class="fa fa-facebook"></i> Facebook</a></li><li><a href="https://www.linkedin.com/groups/12118437"><i class="fa fa-linkedin"></i> LinkedIn</a></li><li><a href="/feed/index.xml"><i class="fa fa-rss"></i> RSS</a></li></ul><ul class="footer-list"><li class="apache"><a href="https://www.apache.org/">Apache</a></li><li><a href="https://www.apache.org/"><i class="fa fa-external-link-square"></i> Apache</a></li><li><a href="https://www.apache.org/foundation/contributing.html"><i class="fa fa-external-link-square"></i> Donations</a></li><li><a href="https://www.apache.org/events/current-event"><i class="fa fa-external-link-square"></i> Events</a></li><li><a href="https://www.apache.org/foundation/sponsorship.html"><i class="fa fa-external-link-square"></i> Sponsorship</a></li><li><a href="https://www.apache.org/foundation/thanks.html"><i class="fa fa-external-link-square"></i> Thanks</a></li><li><a href="https://www.apache.org/security/"><i class="fa fa-external-link-square"></i>Security</a></li></ul></div><div class="aboutusdiv"><p class="aboutus">About Us</p><p class="aboutus_p"><img class="aboutus-logo" src="/img/apache-royale-logo-footer-circle-grey.svg"><a href="/" class="aboutus_a">Apache Royale™</a> is a highly productive open source application technology for building expressive frontend applications that outputs to different formats and deploy consistently on all major browsers, desktops and devices.</p><p><img class="aboutus-apache-logo" src="/img/Apache_PoweredBy.svg"> <a href="/" class="aboutus_a">Apache Royale™</a>, <a href="https://www.apache.org" class="aboutus_a">Apache™</a> and the <a href="https://www.apache.org/foundation/press/kit/" class="aboutus_a">Apache feather logo™</a> are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. Read more about our privacy policy on our <a href="/privacy-policy">Privacy Policy page</a>.</p></div></div><div class="asf">Copyright &copy; 2017-2022 <a href="https://www.apache.org">The Apache Software Foundation</a>, Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a></div></footer></body></html>