API
Everything the editor does is available programmatically through
window.haxeRun: compile Haxe, run it, and read structured diagnostics.
The API also describes itself at runtime, so haxeRun.help() in the console
on the playground is a fine place to start.