暫無描述

Hugh b51ae918ca Fix setting of static variables via reflection when class has no member variables. Closes https://github.com/HaxeFoundation/hxcpp/issues/251 10 年之前
extra 77d171b15c Merge pull request #4206 from HaxeFoundation/development 10 年之前
libs @ 7a83e90263 b8022bc2fa sync ocamllibs 10 年之前
std f54dc960e1 [cs] Check `params` array by length. Closes #4407 10 年之前
tests 63099cf716 Make the generic interface extern if the original class is extern as well 10 年之前
.gitattributes 8e32d7f112 LF normalization 12 年之前
.gitignore ec4456534e Added package_bin rule to Makefile. Save package as an artifacts on AppVeyor. 10 年之前
.gitmodules e37b6914f4 added haxelib repo in extra/haxelib_src (close #2258) 11 年之前
.travis.yml f925d426d0 [TravisCI] improve config readability 10 年之前
CONTRIBUTING.md ed769667f2 add anti-helpdesk clause [skip ci] 10 年之前
Makefile 38ead57d5f Makefile improvements. 10 年之前
Makefile.version_extra ec4456534e Added package_bin rule to Makefile. Save package as an artifacts on AppVeyor. 10 年之前
Makefile.win 38ead57d5f Makefile improvements. 10 年之前
README.md 230cba0717 Link to RC2 binaries instead of RC1 10 年之前
analyzer.ml 88800484e1 [cpp] Do not store array values in temp variables in case this causes a copy operation. 10 年之前
appveyor.yml 9d7a14b7fa [AppVeyor] use the default image 10 年之前
ast.ml 8b72f276e4 [cpp] Some work on @:nativeGen. Fix unreflective in some cases. Add @:nonVirtual meta. 10 年之前
codegen.ml a4ab1a90d3 fix type of metadata TObjectDecl 10 年之前
common.ml 8b72f276e4 [cpp] Some work on @:nativeGen. Fix unreflective in some cases. Add @:nonVirtual meta. 10 年之前
dce.ml 5d36a104a9 check features for anon_read and anon_write too, useful to wrap anon calls on core types like String or Array which map to native types that have a different api like python 10 年之前
filters.ml ff6f33e0fe fix `@:enum` abstract removal in no-dce mode (see #4103) 10 年之前
genas3.ml 3060ca7fbb base64-encode resource names when writing to file system (see #3760) 10 年之前
gencommon.ml 63099cf716 Make the generic interface extern if the original class is extern as well 10 年之前
gencpp.ml b51ae918ca Fix setting of static variables via reflection when class has no member variables. Closes https://github.com/HaxeFoundation/hxcpp/issues/251 10 年之前
gencs.ml accce791c5 [C#] fixed error CS1560 10 年之前
genjava.ml d64f140de9 [cs/java] Consider KExpr as Dynamic 10 年之前
genjs.ml 15e8bb321d [js] do not try to be too clever about enum printing 10 年之前
genneko.ml bc312b028f merge #2895 10 年之前
genphp.ml 7c35df7d9e [php] always newline before expression inside a block, because we're generating empty blocks as well since 534fd95 (closes #4149) 10 年之前
genpy.ml c395276412 [python] fix modulo operator for negative numbers 10 年之前
genswf.ml 7eeeed0b33 remove flash8 target (see #3922) 10 年之前
genswf9.ml 7eeeed0b33 remove flash8 target (see #3922) 10 年之前
genxml.ml 55926c3e06 [gen-hx-classes] Generate real field name 10 年之前
haxe.hxproj 462dd87ba8 ignore a few files 10 年之前
interp.ml 8044213a9d fix FInstance/FClosure encoding (closes #4126) 10 年之前
lexer.mll caaa4bc48b disallow leading zeroes for int and float literals (closes #3295) 11 年之前
main.ml 01973ea677 Replace "Class" with "Type" in deprecated list as well 10 年之前
matcher.ml c189af425f [matcher] follow through static fields for value types (closes #4084) 10 年之前
optimizer.ml d7d3c366ca do not inline constructors if the variable type differs (see #3967) 10 年之前
parser.ml 3d8cb52fa8 [parser] allow `extern` as package name 10 年之前
type.ml df3917f2ee fix printing of FClosure 10 年之前
typecore.ml 54f7002425 "Class not found" error msg should be "Type not found" 10 年之前
typeload.ml 903d0ef47e [java] Do not change parameters of recursive type parameters. Closes #3173 10 年之前
typer.ml 094db4e554 use `cast_or_unify` for map literals (closes #4100) 10 年之前

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