Haxe Code Cookbook

Community driven Haxe code snippets, examples and tutorials.



Learn with Haxe

There are many ways to learn Haxe. On this website you'll find a lot of resources you need to become a Haxe developer.

So why not start learning and join the community today? If you haven’t learned Haxe yet, the time is now.


Latest articles

Nov 26, 2018 Other / Zip files

The haxe.zip package allows to zip and unzip files and directories using Haxe. This example shows how to use it.‥

Read »

Jul 17, 2018 Other / Publish to Haxelib using Travis and Github Releases

This tutorial will help you publish your library automatically to lib.haxe.org when you create a release on GitHub.‥

Read »

Apr 14, 2018 Data structures / A fixed ring array

A fixed ring array are especially useful when you need a hard upper bound for how much data can be in the queue.‥

Read »

Feb 12, 2018 Functional Programming / ML-Style Parse Tree Evaluation

ML-like languages are great for creating interpreters or compilers, by virtue of Algebraic Data Types. Haxe's enum allow for writing similarly elegant code.‥

Read »

The cross-platform development toolkit

Haxe is a modern high-level strictly-typed programming language with a fast optimizing cross-compiler.

Download Haxe 3.4.7
Released: 2018-02-22

Learning by example

The Haxe Foundation facilitates the following code cookbook for the Haxe commmunity. Enjoy learning Haxe; It is great!

More documentation:

Haxe Manual

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Contribution is easy

The project is being developed on GitHub. Feel free to contribute code snippets, tutorials and how-to guides.

Haxe Code Cookbook on Github

Star   Fork