Haxe - The Cross-Platform Toolkit

RAW Doc

<img src="https://haxe.org/img/haxe-logo-horizontal.svg" alt="Haxe logo" width="140"> - The Cross-Platform Toolkit


[](https://travis-ci.org/HaxeFoundation/haxe)
[](https://ci.appveyor.com/project/HaxeFoundation/haxe)
[](https://saucelabs.com/u/haxe)
[](https://gitter.im/HaxeFoundation/haxe?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Haxe is an open source toolkit that allows you to easily build cross-platform tools and applications that target many mainstream platforms. The Haxe toolkit includes:

* The Haxe programming language, a modern, high-level, strictly-typed programming language
* The Haxe cross-compiler, a state-of-the-art, lightning-speed compiler for many targets
* The Haxe standard library, a complete, cross-platform library of common functionality

Haxe allows you to compile for the following targets:

* ActionScript 3
* C++
* C#
* Flash
* HashLink
* Java
* JavaScript
* Lua
* NekoVM
* PHP
* Python 3

You can try Haxe directly from your browser at try.haxe.org!

For more information about Haxe, head to the offical Haxe website.

License

The Haxe project has several licenses, covering different parts of the projects.

* The Haxe compiler is released under the GNU General Public License version 2 or any later version.
* The Haxe standard library is released under the MIT license.
* The Neko virtual machine is released under the MIT license. Its bundled runtime libraries (ndll) and tools are released under open source licenses as described in https://github.com/HaxeFoundation/neko/blob/master/LICENSE

For the complete Haxe licenses, please see https://haxe.org/foundation/open-source.html or extra/LICENSE.txt.

Installing Haxe

The latest stable release is available at https://haxe.org/download/. Pre-built binaries are available for your platform:

* Windows installer
* Windows binaries
* OSX installer
* OSX binaries
* Linux Software Packages
* Linux 32-bit binaries
* Linux 64-bit binaries

Automated development builds are available from build.haxe.org.

Building from source

1. Clone the repository using git. Be sure to initialize and fetch the submodules.

git clone --recursive git://github.com/HaxeFoundation/haxe.git
cd haxe

2. Follow the documentation on building Haxe for your platform.

Using Haxe

For information on on using Haxe, consult the Haxe documentation:

* Haxe Introduction, an introduction to the Haxe toolkit
* The Haxe Manual, the reference manual for the Haxe language
* Haxe Code Cookbook, code snippets / learning resource
* Haxe API, documentation for the Haxe standard and native APIs
* Haxelib, a repository of Haxe libraries for a variety of needs

Community

You can get help and talk with fellow Haxers from around the world via:

* Haxe on Stack Overflow
* the official Haxe Google Group
* #Haxe on Twitter
* the Haxe IRC chatroom, #haxe on chat.freenode.net

:+1: Get notified of the latest Haxe news, follow us on Twitter, Facebook or Google+

Version compatibility

Haxe | neko
---- | -----
2. | 1.
3.0.0 | 2.0.0
3.1.3 | 2.0.0
3.2.0 | 2.0.0
3.3.0 | 2.1.0
3.4.0 | 2.1.0


Contributing

See CONTRIBUTING.md for more. Thank you!