camlp4 -version (return code: 0)
4.04.0
camlp4 --help (return code: 0)
Usage: camlp4 [load-options] [--] [other-options]
Options:
<file>.ml Parse this implementation file
<file>.mli Parse this interface file
<file>.(cmo|cma) Load this module inside the Camlp4 core
-I <directory> Add directory in search patch for object files.
-where Print camlp4 library directory and exit.
-nolib No automatic search for object files in library directory.
-intf <file> Parse <file> as an interface, whatever its extension.
-impl <file> Parse <file> as an implementation, whatever its extension.
-str <string> Parse <string> as an implementation.
-unsafe Generate unsafe accesses to array and strings.
-noassert Obsolete, do not use this option.
-verbose More verbose in parsing errors.
-loc <name> Name of the location variable (default: _loc).
-QD <file> Dump quotation expander result in case of syntax error.
-o <file> Output on <file> instead of standard output.
-v Print Camlp4 version and exit.
-version Print Camlp4 version number and exit.
-vnum Print Camlp4 version number and exit.
-no_quot Don't parse quotations, allowing to use, e.g. "<:>" as token.
-loaded-modules Print the list of loaded modules.
-parser <name> Load the parser Camlp4Parsers/<name>.cm(o|a|xs)
-printer <name> Load the printer Camlp4Printers/<name>.cm(o|a|xs)
-filter <name> Load the filter Camlp4Filters/<name>.cm(o|a|xs)
-ignore ignore the next argument
-- Deprecated, does nothing