haxe - compile Haxe programs to SWF, Neko, JavaScript, PHP, C++, Java, C#, Python, Lua, or HashLink.
Contents
Description
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.
Name
haxe - compile Haxe programs to SWF, Neko, JavaScript, PHP, C++, Java, C#, Python, Lua, or HashLink.
Options
-cppath
Add a directory to find source files.
-jsfile
Compile code to JavaScript file.
-luafile
Compile code to Lua file.
-swffile
Compile code to Flash SWF file.
-as3directory
Generate AS3 code into target directory.
-nekofile
Compile code to Neko Binary.
-phpfile
Generate PHP code into target directory.
-cppfile
Generate C++ code into target directory.
-cppiafile
Generate code to Cppia file.
-csdirectory
Generate C# code into target directory.
-javadirectory
Generate Java code into target directory.
-pythonfile
Generate Python code as target file.
-hlfile
Compile HL code as target file.
-xmlfile
Generate XML types description.
-mainclass
Select startup class.
-liblibrary[:version]
Use a haxelib library.
-Dvar[=value]
Define a conditional compilation flag.
-v Turn on verbose mode.
-debug Add debug information to the compiled code.
-help Show extended help information.
--help 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.
See Also
haxelib(1). https://haxe.org/. May 12, 2017 HAXE(1)
Synopsis
haxe-mainclass [-swf9|-swf|-js|-neko|-php|-cpp|-as3|-cs|-java|-python|-hl|-lua] output [options...]
