Learning Haxe: Part 1: Installing and Editors

Learning Haxe

Haxe is a strongly-typed multi-paradigm programming language that also supports cross-platform compiling into many different source and byte-code languages such as ActionScript 3, JavaScript, Java, C++, C#, PHP, Python, Lua, and Node.js.


The Haxe binaries can be downloaded from its website. Installers per platform are available for Windows, MacOS X, and various Linux distributions. Source code can also be found via its GitHub page.

As of this writing, the current version of Haxe is 3.4.7.


Once installed, Haxe provides a series of command-line tools. The manual details the various compiler options and their usage. For those wanting to use these tools, the most common command configuration will be the following:

haxe -main Main --interp

Through identifying the ‘Main’ function and to interpret the file, it will be parsed and its contents run.

Working with Editors

For those working in Windows, the IDE HaxeDevelop is recommended. It has fully integrated Haxe run-times and debugging.

There are also extensions for Visual Studio Code, Sublime Text, and Atom. Brackets is also supported via an older extension.