暂无描述

Dan Korostelev 8a1d833d30 Update haxelib 9 年之前
extra 8a1d833d30 Update haxelib 9 年之前
libs @ b58b567333 811d113e6e sync ocamllibs 10 年之前
std e312d85902 [JS] Make use of __js__ interpolation in haxe.ds.IntMap.keys 9 年之前
tests 623a24f309 make sure all arguments to `trace` are stringified (closes #4712) 9 年之前
.gitattributes bcaea8195e export-ignore some files 10 年之前
.gitignore 1701e6069d fix for resources added in macros from several modules / compiler cache 10 年之前
.gitmodules e37b6914f4 added haxelib repo in extra/haxelib_src (close #2258) 11 年之前
.travis.yml c865cd194c [CI] copy test outputs to haxe-output folder 9 年之前
CONTRIBUTING.md 5507bf9109 --help-defines: mention dump subdirectory and dump=pretty 10 年之前
Makefile 56b9f33ac0 [AppVeyor] remove debug message 9 年之前
Makefile.version_extra ec4456534e Added package_bin rule to Makefile. Save package as an artifacts on AppVeyor. 10 年之前
Makefile.win 47e8143eb5 tweaked packaging 10 年之前
README.md 961e7a75a6 updated README 9 年之前
analyzer.ml ed83390bc3 All compiler source files should be licensed in GPLv2+ as stated in http://haxe.org/foundation/open-source.html. (see #4602) 10 年之前
appveyor.yml cde90ad951 [AppVeyor] neko: build vm/*.vcxproj directly instead of using neko_vc10.sln 9 年之前
ast.ml 00a3af7ae0 add `@:astSource` metadata 9 年之前
codegen.ml acc2d56d55 allow arbitrary `{` and `}` when interpolating code 9 年之前
common.ml 465f835951 support import.hx (closes #1138) 9 年之前
dce.ml 0a4e7f8114 [python] keep array getter/setter when we increment/decrement on it (closes #4403) 9 年之前
filters.ml 8d81af87cb apply `@:native` to all abstracts 9 年之前
genas3.ml ed83390bc3 All compiler source files should be licensed in GPLv2+ as stated in http://haxe.org/foundation/open-source.html. (see #4602) 10 年之前
gencommon.ml 08d832a7c2 add `s_module_type_kind` 9 年之前
gencpp.ml eecefecb81 [cpp] Use remap name when using class name to determine if access is dynamic 9 年之前
gencs.ml ed83390bc3 All compiler source files should be licensed in GPLv2+ as stated in http://haxe.org/foundation/open-source.html. (see #4602) 10 年之前
genjava.ml 0c74001c73 Fix issue #4608 in Java 10 年之前
genjs.ml 4107d739e7 [js] don't store haxe.CallStack.lastException when dce=no and haxe.CallStack is not compiled (closes #4556) 9 年之前
genneko.ml ed83390bc3 All compiler source files should be licensed in GPLv2+ as stated in http://haxe.org/foundation/open-source.html. (see #4602) 10 年之前
genphp.ml 1abdd8abff [php] fix comparison (closes #4695) 9 年之前
genpy.ml 407e62ce7d [python] generate AnonObject when metadata exists (closes #4422) 9 年之前
genswf.ml ed83390bc3 All compiler source files should be licensed in GPLv2+ as stated in http://haxe.org/foundation/open-source.html. (see #4602) 10 年之前
genswf9.ml ed83390bc3 All compiler source files should be licensed in GPLv2+ as stated in http://haxe.org/foundation/open-source.html. (see #4602) 10 年之前
genxml.ml ed83390bc3 All compiler source files should be licensed in GPLv2+ as stated in http://haxe.org/foundation/open-source.html. (see #4602) 10 年之前
haxe.hxproj 462dd87ba8 ignore a few files 10 年之前
interp.ml 8d81af87cb apply `@:native` to all abstracts 9 年之前
lexer.mll 9ec45e3ebf allow parsing `||=` and `&&=` (closes #4427) 9 年之前
main.ml 465f835951 support import.hx (closes #1138) 9 年之前
matcher.ml ed113f4556 still allow matching on read-only extern static fields (closes #4679) 9 年之前
optimizer.ml 2ffac9e3d1 fix a bug 9 年之前
parser.ml 70efdd1d9c Revert "parse documentation and metadata for structures (closes #4655) (closes #3083)" 9 年之前
type.ml 5addd204c7 fix silly AST printing bug 9 年之前
typecore.ml 0fa1453c6e remove some `rec` from non-recursive types/functions 9 年之前
typeload.ml d0416e71e3 check module redefinitions in `add_module` again (closes #4692) 9 年之前
typer.ml 623a24f309 make sure all arguments to `trace` are stringified (closes #4712) 9 年之前

README.md

Haxe logo - The Cross-Platform Toolkit

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 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 http://haxe.org/foundation/open-source.html or extra/LICENSE.txt.

Installing Haxe

The latest stable release is Haxe 3.2.1. 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:

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