Overview of Haxe compilation snippets and tutorials.
May 23, 2016 Compilation / Compiling libraries without main class
In most cases, you want a Main class with a static main function as entry point to start your program. However, there are cases where there is no need for this - for example if you are writing a library that other programs will be using.
Oct 20, 2019 Compilation / Writing target-specific modules differentiated by filename
The standard way of naming module files in haxe is <Modulename>.hx - the module name spelled with first letter capital, and ending with .hx as extension. Let's say we have the following class called Example: