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.


Installing

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.

Editors

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.