OnWorks favicon

haxe - Online in the Cloud

Run haxe in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command haxe that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



haxe - compile haXe programs to SWF, Neko, JavaScript, PHP, or C++.


haxe -main class [-swf9|-swf|-js|-neko|-php|-cpp|-as3] output [options...]


haxe is a command-line compiler which compiles haXe programs into Flash SWF, JavaScript,
ActionScript, PHP, C++, or Neko bytecode.

haXe programs are similar to JavaScript, but have a full-featured type system with


-cp path
Add a directory to find source files.

-js file
Compile code to JavaScript file.

-swf file
Compile code to Flash SWF file.

-as3 directory
Generate AS3 code into target directory.

-neko file
Compile code to Neko Binary.

-php file
Generate PHP code into target directory.

-cpp file
Generate C++ code into target directory.

-xml file
Generate XML types description.

-main class
Select startup class.

-lib library[:version]
Use a haxelib library.

-D var Define a conditional compilation flag.

-v Turn on verbose mode.

-debug Add debug information to the compiled code.

-swf-version version
Change the SWF version (6 to 10).

-swf-header header
Define SWF header (width:height:fps:color).

-swf-lib file
Add the SWF library to the compiled SWF.

-x file
Shorthand for compiling and executing a neko file.

-resource file[@name]
Add a named resource file.

Prompt on error.

-cmd Run the specified command after successful compilation.

More type strict flash API.

Do not compile trace calls in the program.

Place objects found on the stage of the SWF lib.

Keep generated neko source.

--gen-hx-classes file
Generate hx headers from SWF9 file.

--next Separate several haxe compilations.

Display code tips.

Compiles but does not generate any file.

Measure compilation times.

Disable inlining.

Disable code optimizations.

--php-front file
Select the name for the php front file.

--php-lib file
select the name for the php lib folder.

--js-namespace namespace
Create a namespace where root types are defined.

--remap package:target
Remap a package to another one.

Interpret the program using internal macro system.

Call the given macro before typing anything else.

Remove unused methods.

-help Display this list of options.

--help Display this list of options.

Use haxe online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 2
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 3
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 4
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    Download Dolibarr ERP - CRM
  • 5
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    Download SQuirreL SQL Client
  • 6
    Brackets is a free, modern open-source
    text editor made especially for Web
    Development. Written in HTML, CSS, and
    JavaScript with focused visual tools and
    Download Brackets
  • 7
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • More »

Linux commands