Haxe is an actively used programming language created in 2005. Haxe is computer software, a high-level, cross-platform, multi-paradigm 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, distributed under the GNU General Public License (GPL) 2.0, and the standard library under an MIT License. Haxe includes a set of common functions that are supported across all platforms, such as numeric data types, text, arrays, binary and some common file formats. Read more on Wikipedia...

14Years Old 4,392Users 2Jobs

Example code from the Hello World Collection:

// Hello world in Haxe

class Hello {
    static public function main() {
        trace("Hello world!");
    }
}

Example code from Wikipedia:

class FooBar {

   public var foo:Int;
   public var bar:String;

   public function new(){ foo=1; bar="2";}

   function anyFooBar(v:{foo:Int,bar:String}) trace(v.foo);

   static function test(){
        var fb = new FooBar();
        fb.anyFooBar(fb);
        fb.anyFooBar({foo:123,bar:"456"});
   }
}

Last updated July 8th, 2019