HaxeFoundation / haxe.org-comments

Repository to collect comments of our haxe.org websites
2 stars 2 forks source link

[haxe.org/manual] Compiler Usage #56

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Compiler Usage - Haxe - The Cross-platform Toolkit

Haxe is an open source toolkit based on a modern, high level, strictly typed programming language.

https://haxe.org/manual/compiler-usage.html

moriyalb commented 4 years ago

Generate Lua source code in the specified file。

The link is directed to Python now.

markknol commented 4 years ago

Thanks for pointing out, I've update that. will be online soon.

junaid1460 commented 4 years ago

is there any compiler api? if I want to run compiler on browser

VladimirCores commented 4 years ago

How to set jar filename when output to JVM (with -D jvm)? because if I set --java bin/lib.jar compiler will create folder lib.jar and put jar-Debug.jar inside.

Gama11 commented 4 years ago

@DQvsRA Use --jvm bin/lib.jar (which implies -D jvm).

VladimirCores commented 4 years ago

@Gama11 it works, wonderful, thanks for help!

repsick3r commented 2 years ago

is there any way to generate intermediate files in intrepreted mode (as in C where you can get file.i, file.s, ... files generated)

danielo515 commented 1 year ago

--macro includeFile(file:String, position) Embed a JavaScript file at compile time. position can be either "top", "inline" or "closure".

I think this applies not only to javascript