1HAXE(1)                          User Commands                         HAXE(1)
2
3
4

NAME

6       haxe - manual page for haxe 4.3.3
7

SYNOPSIS

9       haxe <target> [options] [hxml files and dot paths...]
10

DESCRIPTION

12       Haxe Compiler 4.3.3 - (C)2005-2023 Haxe Foundation
13
14   Target:
15       --js <file>
16              generate JavaScript code into target file
17
18       --lua <file>
19              generate Lua code into target file
20
21       --swf <file>
22              generate Flash SWF bytecode into target file
23
24       --neko <file>
25              generate Neko bytecode into target file
26
27       --php <directory>
28              generate PHP code into target directory
29
30       --cpp <directory>
31              generate C++ code into target directory
32
33       --cppia <file>
34              generate Cppia bytecode into target file
35
36       --cs <directory>
37              generate C# code into target directory
38
39       --java <directory>
40              generate Java code into target directory
41
42       --jvm <file>
43              generate JVM bytecode into target file
44
45       --python <file>
46              generate Python code into target file
47
48       --hl <file>
49              generate HashLink .hl bytecode or .c code into target file
50
51       --interp
52              interpret the program using internal macro system
53
54       --run <module> [args...]
55              interpret a Haxe module with command line arguments
56
57   Compilation:
58       -p, --class-path <path>
59              add a directory to find source files
60
61       -m, --main <class>
62              select startup class
63
64       -L, --library <name[:ver]>
65              use a haxelib library
66
67       -D, --define <var[=value]>
68              define a conditional compilation flag
69
70       -r, --resource <file>[@name]
71              add a named resource file
72
73       --cmd <command>
74              run the specified command after successful compilation
75
76       --remap <package:target>
77              remap a package to another one
78
79       --macro <macro>
80              call the given macro before typing anything else
81
82       -C, --cwd <directory>
83              set current working directory
84
85       --haxelib-global
86              pass --global argument to haxelib
87
88       -w <warning list>
89              enable or disable specific warnings
90
91   Optimization:
92       --dce [std|full|no]
93              set the dead code elimination mode (default std)
94
95       --no-traces
96              don't compile trace calls in the program
97
98       --no-output
99              compiles but does not generate any file
100
101       --no-inline
102              disable inlining
103
104       --no-opt
105              disable code optimizations
106
107   Debug:
108       -v, --verbose
109              turn on verbose mode
110
111       --debug
112              add debug information to the compiled code
113
114       --prompt
115              prompt on error
116
117       --times
118              measure compilation times
119
120   Batch:
121       --next separate several haxe compilations
122
123       --each append  preceding  parameters to all Haxe compilations separated
124              by --next
125
126   Services:
127       --display
128              display code tips
129
130       --xml <file>
131              generate XML types description
132
133       --json <file>
134              generate JSON types description
135
136   Compilation Server:
137       --server-listen [[host:]port]|stdio]
138              wait on the given port (or use standard i/o) for commands to run
139
140       --server-connect [host:]port]
141              connect to the given port and wait for commands to run
142
143       --connect <[host:]port>
144              connect on the given port and run commands there
145
146   Target-specific:
147       --swf-version <version>
148              change the SWF version
149
150       --swf-header <header>
151              define SWF header (width:height:fps:color)
152
153       --flash-strict
154              more type strict flash API
155
156       --swf-lib <file>
157              add the SWF library to the compiled SWF
158
159       --swf-lib-extern <file>
160              use the SWF library for type checking
161
162       --java-lib <file>
163              add an external JAR or directory of JAR files
164
165       --java-lib-extern <file>
166              use an external JAR or directory of JAR files for type checking
167
168       --net-lib <file>[@std]
169              add an external .NET DLL file
170
171       --net-std <file>
172              add a root std .NET DLL search path
173
174       --c-arg <arg>
175              pass option <arg> to the native Java/C# compiler
176
177   Miscellaneous:
178       --version
179              print version and exit
180
181       -h, --help
182              show extended help information
183
184       --help-defines
185              print help for all compiler specific defines
186
187       --help-user-defines
188              print help for all user defines
189
190       --help-metas
191              print help for all compiler metadatas
192
193       --help-user-metas
194              print help for all user metadatas
195
196
197
198haxe 4.3.3                       November 2023                         HAXE(1)
Impressum