暫無描述

hughsando b7952d1df2 [cpp] Add some helper functions for loading dlls 10 年之前
extra 6871736796 check variable initialization before running the simplifier (closes #4076) 10 年之前
libs @ 8bba5315ca e86ab73ca2 Fix get_real_path in windows with 8.3 names disabled (closes #3779) 10 年之前
std b7952d1df2 [cpp] Add some helper functions for loading dlls 10 年之前
tests 633169f612 [test] Comment out argument test cases that fail on Windows. 10 年之前
.gitattributes 8e32d7f112 LF normalization 12 年之前
.gitignore 523c860c69 fix detection of `@:generic` classes with constructor constraints (closes #4070) 10 年之前
.gitmodules e37b6914f4 added haxelib repo in extra/haxelib_src (close #2258) 11 年之前
.travis.yml d73d9f76a2 [TravisCI] do not build for tags (close #4058) 10 年之前
CONTRIBUTING.md ed769667f2 add anti-helpdesk clause [skip ci] 10 年之前
Makefile 7eeeed0b33 remove flash8 target (see #3922) 10 年之前
Makefile.win 0222951a15 added stubs linking 10 年之前
README.md 310316c665 update AppVeyor badge 10 年之前
analyzer.ml 7eeeed0b33 remove flash8 target (see #3922) 10 年之前
appveyor.yml 997add478a [CI] Reduce noise. 10 年之前
ast.ml 05f10acb2e [cpp] Add calling convention to function pointers 10 年之前
codegen.ml a4ab1a90d3 fix type of metadata TObjectDecl 10 年之前
common.ml ac30dd5dc7 [cs] remove workaround for unity's #line bug as it's now fixed by d464df1a66b1c502dc97b327d172144d9e942f49 (see #3759) 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 6871736796 check variable initialization before running the simplifier (closes #4076) 10 年之前
genas3.ml 3060ca7fbb base64-encode resource names when writing to file system (see #3760) 10 年之前
gencommon.ml d464df1a66 [java/cs] Save output files as binary. See #3759 10 年之前
gencpp.ml d3d3f9cb11 [cpp] Add magic GENCPP_SOURCE_DIRECTORY variable to make native code interaction easier 10 年之前
gencs.ml ac30dd5dc7 [cs] remove workaround for unity's #line bug as it's now fixed by d464df1a66b1c502dc97b327d172144d9e942f49 (see #3759) 10 年之前
genjava.ml dc62f59942 [java/cs] Do not edit common fields. Closes #3350 10 年之前
genjs.ml 15e8bb321d [js] do not try to be too clever about enum printing 10 年之前
genneko.ml bc312b028f merge #2895 10 年之前
genphp.ml 4c0d5458e4 [php] support interpolation in `__php__` code (see #4060) 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 51369ce37b [macro] set eof to false upon file seek 10 年之前
lexer.mll caaa4bc48b disallow leading zeroes for int and float literals (closes #3295) 11 年之前
main.ml 472859f91c Don't need that specialized htmlelement error anymore. 10 年之前
matcher.ml 4abe1ab587 allow null matching on enums (closes #3338) 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 91dcfe9ccb fix TObjectDecl in s_expr 10 年之前
typecore.ml 39d918246d minor changes in pass debugging 10 年之前
typeload.ml 903d0ef47e [java] Do not change parameters of recursive type parameters. Closes #3173 10 年之前
typer.ml 7eeeed0b33 remove flash8 target (see #3922) 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-rc1. 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