Bez popisu

Simon Krajewski eb79c97244 add test (closes #2224) před 11 roky
extra 333dc573b7 add haxe.EitherType (see HaxeFoundation/hxnodejs#15) před 11 roky
libs @ 99fff32091 1cd97a3fa4 [cs] Started to work on being culture invariant. Started to tackle Issue #996; Transformed Runtime.compare to haxe code. Fixed enum to int on native C# enums. Closes #2931 před 11 roky
std 469540726c Merge pull request #3465 from nadako/eithertype před 11 roky
tests eb79c97244 add test (closes #2224) před 11 roky
.gitattributes 8e32d7f112 LF normalization před 12 roky
.gitignore 465272d660 fix .gitignore, thanks @mcheshkov před 11 roky
.gitmodules e37b6914f4 added haxelib repo in extra/haxelib_src (close #2258) před 11 roky
.travis.yml 9f6a1d65a9 give travis OSX a break (see #https://github.com/travis-ci/travis-ci/issues/2792) před 11 roky
Makefile f301baef6a add static analyzer před 11 roky
Makefile.win bc8b2e7315 remove 2>/dev/null from makefile kill (does not work for me) před 11 roky
README.md 1d880435c7 [docs] Update README.md před 11 roky
analyzer.ml 723ad6bc55 [analyzer] add `awkward_get_enum_index` and use it to optimize TSwitch (see #2216) před 11 roky
ast.ml f301baef6a add static analyzer před 11 roky
codegen.ml 0979a9a16c make sure the raising version of `cast_or_unify` is used when trying to find array access (closes #3432) před 11 roky
common.ml 790e67ef6a allow `--display File.hx@0@resolve@TypeName` (see #2996) před 11 roky
dce.ml a4a5dc4639 I am the beginning and the end to fix your control flow. před 11 roky
filters.ml 50a309a7cb [analyzer] do not completely give up upon encountering unbound variables, just do not apply any optimization (still transform AST) před 11 roky
genas3.ml a7a7cc287c [as3] do not generate TObjectDecl at block-level here as well (closes #3440) před 11 roky
gencommon.ml 16f33030a0 [java/cs] OpMod receives Float values and return Float values as well. Closes #3447 před 11 roky
gencpp.ml 1aa421975e [cpp] Fix compiler error when creating closure-of-closure of this pointer. Continues the hack that relies on name. před 11 roky
gencs.ml a104251633 [cs] make reflection field hashes not cause "unchecked" context (closes #2450) před 11 roky
genjava.ml 7950c7cd1f [java] fix some ugly whitespaces před 11 roky
genjs.ml a5f0f8e94e [js] do not remove parens from nested ternaries před 11 roky
genneko.ml cbdafc5aba [neko] use `tf_args` instead of TFun to determine constructor argument names (closes #3008) před 11 roky
genphp.ml 534fd95ef8 [php] we now have real empty blocks, so generate them (see 42be1b96bf7353e3194dc065cd1361a31ee4bdb1) před 11 roky
genpy.ml 8582bf9452 [python] don't wrap classes that inherit from BaseException in _HxException před 11 roky
genswf.ml 53f0a0c259 rename `(cl|en|t|a|mt)_types` to `_params` for consistency před 11 roky
genswf8.ml 6568450332 remove TPatMatch (will revisit in the undefined future) před 11 roky
genswf9.ml bda012b966 bugfix for air ios packager with enums : __constructs__ was not accessible in some cases because the slots were not declared in order před 11 roky
genxml.ml ce8f380722 Merge pull request #3341 from Simn/abstract_cast_rewrite před 11 roky
haxe.hxproj 35963f675f hide analyzer outputs před 11 roky
interp.ml 6631a6be8f Merge branch 'add_global_metadata' into development před 11 roky
lexer.mll caaa4bc48b disallow leading zeroes for int and float literals (closes #3295) před 11 roky
main.ml 09ef9f2e3d disable new completion by default (breaks flashdevelop) - until FD fixes it and is widely installed před 11 roky
matcher.ml 8420693ae2 move `is_explicit_null` to type.ml because it is needed in the analyzer před 11 roky
optimizer.ml 5ed8dc3ff6 do not cancel constructor inlining when assigning to an "unknown" field, instead add that field to the field list před 11 roky
parser.ml 3a938dab8e allow `import Type as Alias` in the name of the grammar (closes #2361) před 11 roky
type.ml 4e4693249c consider to and from when assigning to and from `Dynamic<T>` (closes #3461) před 11 roky
typecore.ml 9713f35f16 add Compiler.addGlobalMetadata před 11 roky
typeload.ml 4b3cc033ea use full position of `EImport` for errors not related to imported type itself (closes #3457) před 11 roky
typer.ml e406f45692 store ctx.curclass during postprocessing and register package as fake variable for `rename_local_vars` (see #3008) před 11 roky

README.md

Haxe logo

Haxe - The Cross-Platform Toolkit

Build 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