DOKK / manpages / debian 11 / haxe / haxe.1.en
HAXE(1) General Commands Manual HAXE(1)

haxe - compile Haxe programs to SWF, Neko, JavaScript, PHP, C++, Java, C#, Python, Lua, or HashLink.

haxe -main class [-swf9|-swf|-js|-neko|-php|-cpp|-as3|-cs|-java|-python|-hl|-lua] output [options...]

haxe is a command-line compiler which compiles Haxe programs into Flash SWF, JavaScript, ActionScript, PHP, C++, Java, C#, Python, Lua, Neko bytecode, or HashLink bytecode.

Haxe programs are syntactically similar to JavaScript, but have a full-featured static type system with generics, compile-time macros, generalized algebraic datatypes, and more.

Add a directory to find source files.
Compile code to JavaScript file.
Compile code to Lua file.
Compile code to Flash SWF file.
Generate AS3 code into target directory.
Compile code to Neko Binary.
Generate PHP code into target directory.
Generate C++ code into target directory.
Generate code to Cppia file.
Generate C# code into target directory.
Generate Java code into target directory.
Generate Python code as target file.
Compile HL code as target file.
Generate XML types description.
Select startup class.
Use a haxelib library.
Define a conditional compilation flag.
Turn on verbose mode.
Add debug information to the compiled code.
Show extended help information.
Show extended help information.
--help-defines
Print help for all compiler specific defines.
--help-metas
Print help for all compiler metadatas.
<dot-path>
Compile the module specified by dot-path.

Haxe is currently maintained by the Haxe Foundation. It was originally written by Nicolas Cannasse for Motion-Twin.

haxelib(1). https://haxe.org/.

May 12, 2017