/haxe

Haxe - The Cross-Platform Toolkit

Primary LanguageHaxe

TravisCI Build Status AppVeyor Build Status SauceLabs Test Status Gitter

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
  • Java
  • JavaScript
  • NekoVM
  • PHP
  • Python

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 3.2.0-rc2. Pre-built binaries are available for your platform:

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 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:

Version compatibility

Haxe neko
2.* 1.*
3.0.0 2.0.0
3.1.3 2.0.0

Fedora RPMs

Under a git clone of this package, simply run:

./packaging/build-srpm -o .

It will generate a Source RPM of HEAD that can be built locally using rpmbuild or mock, or under Fedora's build servers.

For example, an build-srpm run has generated:

haxe-3.2.0-2015.07.23.234315.git1a7d770290ec.fc21.src.rpm

Subsequently, running the Fedora 'mock' tool on the source RPM has generated:

haxe-3.2.0-2015.07.23.234315.git1a7d770290ec.fc21.src.rpm
haxe-3.2.0-2015.07.23.234315.git1a7d770290ec.fc21.x86_64.rpm
haxe-debuginfo-3.2.0-2015.07.23.234315.git1a7d770290ec.fc21.x86_64.rpm

Tested with Fedora 21.

This install paths of the haxe RPM are /usr/bin, and /usr/share/haxe.