Haxe is a high-level cross-platform programming language and compiler that can produce applications and source code for many different computing platforms from one code-base. It is free and open-source software, released under the MIT License.[2] The compiler, written in OCaml, is released under the GNU General Public License (GPL) version 2.
Haxe includes a set of features and a standard library[3] supported across all platforms, like numeric data types, strings, arrays, maps, binary, reflection, maths, Hypertext Transfer Protocol (HTTP), file system and common file formats. Haxe also includes platform-specific API's for each compiler target.[4] Kha, OpenFL and Heaps.io are popular Haxe frameworks that enable creating multi-platform content from one codebase.[5]
Haxe originated[6] with the idea of supporting client-side and server-side programming in one language, and simplifying the communication logic between them. Code written in the Haxe language can be compiled into JavaScript, C++, Java, JVM, PHP, C#, Python, Lua[7] and Node.js.[8] Haxe can also directly compile SWF, HashLink, and NekoVM bytecode and also runs in interpreted mode.[9]
Haxe supports externs (definition files) that can contain type information of existing libraries to describe target-specific interaction in a type-safe manner, like C++ header files can describe the structure of existing object files. This enables to use the values defined in the files as if they were statically typed Haxe entities. Beside externs, other solutions exist to access each platform's native capabilities.
Many popular IDEs and source code editors have support available for Haxe development.[10] No particular development environment or tool set is officially recommended by the Haxe Foundation, although VS Code, IntelliJ IDEA and HaxeDevelop have the most support for Haxe development. The core functionalities of syntax highlighting, code completion, refactoring, debugging, etc. are available to various degrees.
^"Release 4.3.4". 4 March 2024. Retrieved 16 March 2024.
^"Open Source licence Haxe".
^Introduction to the Haxe Standard Library, Haxe Docs
^Target Specific APIs, Introduction to the Haxe Standard Library, Haxe Docs
^Doucet, Lars (2014-06-24). "Dear Adobe: Support Haxe, save your Tools". Gamasutra.
Haxe is a high-level cross-platform programming language and compiler that can produce applications and source code for many different computing platforms...
2021. "haxe/Either.hx at development · HaxeFoundation/haxe". Github. 7 November 2021. "Language Features". Haxe - The Cross-platform Toolkit. Haxe Foundation...
multi-platform applications and video games. OpenFL applications can be written in Haxe, JavaScript (EcmaScript 5 or 6+), or TypeScript, and may be published as...
Leet (or "1337"), also known as eleet or leetspeak, is a system of modified spellings used primarily on the Internet. It often uses character replacements...
(programming language) Hamilton C shell Harbour Hartmann pipelines Haskell Haxe Hermes High Level Assembly (HLA) High Level Shader Language (HLSL) Hollywood...
Source code editors for Erlang Go to this page: Comparison of IDE choices for Haxe programmers Java has strong IDE support, due not only to its historical and...
Banana Apple Number of instances made: 2 Banana Apple Here is an example in Haxe class Fruit { private static var _instances = new Map<String, Fruit>(); public...
FlashDevelop. Haxe is an open source, high-level object-oriented programming language geared towards web-content creation that can compile SWF files from Haxe programs...
are all equivalent: f x y = x + y f x = \y -> x + y f = \x y -> x + y In Haxe, anonymous functions are called lambda, and use the syntax function(argument-list)...
In computer programming, foreach loop (or for-each loop) is a control flow statement for traversing items in a collection. foreach is usually used in place...
This is a list of notable test automation frameworks. A framework is generally specific to a language or a set of highly related languages and therefore...
scripting language, or to target NekoVM by compiling another language (such as Haxe) to NekoVM bytecode. Neko has a compiler and a virtual machine (VM) with...
Yes No Floored rem Yes No Truncated Data.Fixed.mod' (GHC) No Yes Floored Haxe % Yes No Truncated HLSL % Yes Yes Undefined J | Yes No Floored Java % Yes...
Foundation. Gosu, an extensible type-system language compiled to Java bytecode Haxe, a cross-platform statically typed language that targets Java and the JVM...
language compiler, created at Facebook, extending PHP with static types. The Haxe programming language compiler. HOL Light, a formal proof assistant. Infer...