Tips - fal-works/hlc-compiler GitHub Wiki
Be in the right place
Make sure that your current working directory is correct, which is necessary to resolve some filepaths.
Problems with haxelib/neko?
As of hlc-compiler v0.3.0, haxelib run hlc-compiler
will run neko bytecode of hlc-compiler
.
If this does not work well, try running hlc_compiler.Main.main()
directly with Haxe.
For example, prepare a hxml file (compile-hlc.hxml
here) as below:
--library hlc-compiler
--run hlc_compiler.Main
Now you should be able to use command haxe compile-hlc.hxml
instead of haxelib run hlc-compiler
.