This section is about the standalone grammar file compiler of the XDK
(xdkc
).
These are the commandline arguments of xdkc
:
--help
or --nohelp
(short version: -h
): Display an
overview of the commandline arguments. Default: --nohelp
.
--grammars
(-g
): Select the list of
grammar files which shall be compiled (and then merged). Default: no files.
--input
(-i
): Supply a sentence
(for dynamic grammar generation). Default: ""
.
--output
(-o
): Specify the filename for the compiled grammar.
Default: the name of the first grammar file with its suffix changed to
slp
/slp_db
.
--debug
or --nodebug
(-d
): Switch on the debug mode.
Default: nodebug
.
--local
or --nolocal
(-l
): Specify where to look for
constraints and outputs. Default: --local
if xdk.oz
,
xdk.ozf
and xdk.exe
are in the current directory, else
--nolocal
.