Haxe - The Cross-Platform Toolkit
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:
- C++
- C#
- Flash
- Java
- JavaScript
- NekoVM
- PHP
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 libraries are released under a "two-clause" BSD license.
- The Neko runtime is licensed under the GNU Lesser General Public License version 2.1 or any later version.
For the complete Haxe licenses, please see http://haxe.org/foundation/open-source.html or extra/LICENSE.txt.
Installing Haxe
The latest stable release is Haxe v3.1.3. Pre-built binaries are available for your platform:
- Windows installer
- Windows binaries
- OSX installer
- OSX binaries
- Linux 32-bit binaries
- Linux 64-bit binaries
Automated development builds are available from build.haxe.org.
Building from source
-
Clone the repository using git. Be sure to initialize and fetch the submodules.
git clone --recursive git://github.com/HaxeFoundation/haxe.git cd haxe
-
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 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:
- the official Haxe Google Group
- the Haxe IRC chatroom, #haxe on chat.freenode.net
Version compatibility
Haxe | neko |
---|---|
2.* | 1.* |
3.0.0 | 2.0.0 |
3.1.3 | 2.0.0 |