暂无描述

Dan Korostelev fe6db4bd75 move wrap ref functions into a platform-specific helper object 11 年之前
extra 92656eb035 update haxelib 11 年之前
libs @ 78d0798344 e7dcf40841 [java/cs] Fixed some @:overload overrides that weren't validated by typeload 11 年之前
std ef5f4b4562 [java/cs] Added support for @:readOnly fields when eagerly initialized. Closes #2061 11 年之前
tests ef5f4b4562 [java/cs] Added support for @:readOnly fields when eagerly initialized. Closes #2061 11 年之前
.gitattributes 8e32d7f112 LF normalization 12 年之前
.gitignore 4f5d4a230d restructure unit tests: sources in src, output in bin 11 年之前
.gitmodules e37b6914f4 added haxelib repo in extra/haxelib_src (close #2258) 11 年之前
.travis.yml 40ef585cdb [CI] refactor ci code 11 年之前
Makefile f301baef6a add static analyzer 11 年之前
Makefile.win 4f0dbd1154 fixed wodi lib path 11 年之前
README.md f06c06f842 :sparkles: badges :sparkles: 11 年之前
analyzer.ml 9f019f9f8c Don't bind the results of specified function calls to temp vars. Mark some cpp functions as such. 11 年之前
appveyor.yml 40ef585cdb [CI] refactor ci code 11 年之前
ast.ml 70a59051ef mark types that are directly referenced by non-extern code with @:reallyUsed (see #3050) 11 年之前
codegen.ml 0979a9a16c make sure the raising version of `cast_or_unify` is used when trying to find array access (closes #3432) 11 年之前
common.ml 70a59051ef mark types that are directly referenced by non-extern code with @:reallyUsed (see #3050) 11 年之前
dce.ml 70a59051ef mark types that are directly referenced by non-extern code with @:reallyUsed (see #3050) 11 年之前
filters.ml fe6db4bd75 move wrap ref functions into a platform-specific helper object 11 年之前
genas3.ml 7ed0b55831 [as3] override `follow` with `follow_with_abstracts` (see #2224) 11 年之前
gencommon.ml d35d8c438c [cs] Call real_type for the underlying Pointer type as well 11 年之前
gencpp.ml 1aa421975e [cpp] Fix compiler error when creating closure-of-closure of this pointer. Continues the hack that relies on name. 11 年之前
gencs.ml ef5f4b4562 [java/cs] Added support for @:readOnly fields when eagerly initialized. Closes #2061 11 年之前
genjava.ml ef5f4b4562 [java/cs] Added support for @:readOnly fields when eagerly initialized. Closes #2061 11 年之前
genjs.ml 964c344784 [js] generate array literal for "new Array<T>()" expressions as it still seems to be the fastest way (see http://stackoverflow.com/questions/7375120/why-is-arr-faster-than-arr-new-array) 11 年之前
genneko.ml cbdafc5aba [neko] use `tf_args` instead of TFun to determine constructor argument names (closes #3008) 11 年之前
genphp.ml 534fd95ef8 [php] we now have real empty blocks, so generate them (see 42be1b96bf7353e3194dc065cd1361a31ee4bdb1) 11 年之前
genpy.ml a3d3d61422 [js/python] don't generate require/import for types that are not directly referenced by non-extern code (closes #3050) 11 年之前
genswf.ml 53f0a0c259 rename `(cl|en|t|a|mt)_types` to `_params` for consistency 11 年之前
genswf8.ml 6568450332 remove TPatMatch (will revisit in the undefined future) 11 年之前
genswf9.ml 506f85afc2 fixed slots handling with enums : was causing crashes with iOS AOT 11 年之前
genxml.ml ce8f380722 Merge pull request #3341 from Simn/abstract_cast_rewrite 11 年之前
haxe.hxproj 35963f675f hide analyzer outputs 11 年之前
interp.ml 6631a6be8f Merge branch 'add_global_metadata' into development 11 年之前
lexer.mll caaa4bc48b disallow leading zeroes for int and float literals (closes #3295) 11 年之前
main.ml 8fc266d354 make sure the xml output directory exists too 11 年之前
matcher.ml 8420693ae2 move `is_explicit_null` to type.ml because it is needed in the analyzer 11 年之前
optimizer.ml 01b6d6a573 Fix typo in error message 11 年之前
parser.ml 3a938dab8e allow `import Type as Alias` in the name of the grammar (closes #2361) 11 年之前
type.ml b1e92a6c5c [cs] Added support for accessing a Pointer's underlying type's fields 11 年之前
typecore.ml 9713f35f16 add Compiler.addGlobalMetadata 11 年之前
typeload.ml 8ba766f18c allow extending extern base classes by extern classes 11 年之前
typer.ml e07f7b0eb8 avoid `FDynamic "next"` if possible (see #3486) 11 年之前

README.md

Haxe logo

Haxe - The Cross-Platform Toolkit

TravisCI Build Status AppVeyor Build Status SauceLabs Test Status

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:

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