Index of values


(!+) [Utils]
prefix operator to reference a file relatively to the script directory.
(//) [Utils]
shortcut for portable file path concatenation

C
camlp4o [Ocaml]
the name of the camlp4o command; default: "camlp4o"
camlp4r [Ocaml]
the name of the camlp4r command; default: "camlp4r"
command [Pipeline]
command ?stdin ?stdout l creates a command which redirects stdin and stdout to the given files, if these options are used.
compile [Ocaml]
the compilation function which is used to set Ocamlscript.Common.compile
compile [Common]
The function which is used to compile the program.

E
extra_args [Common]
All arguments which are not valid options for ocamlscript but are not arguments of the script either.

O
ocamlc [Ocaml]
the name of the ocamlc command; default: "ocamlc"
ocamlfind [Ocaml]
the name of the ocamlfind command; default: "ocamlfind"
ocamlflags [Ocaml]
any other options to pass to the compiler
ocamllex [Ocaml]
the name of the ocamllex command; default: "ocamllex"
ocamlopt [Ocaml]
the name of the ocamlopt command; default: "ocamlopt"
ocamlyacc [Ocaml]
the name of the ocamlyacc command; default: "ocamlyacc"

P
packs [Ocaml]
Specific Findlib/ocamlfind packages to use
pp [Ocaml]
optional preprocessor that comes before all other preprocessors
ppopt [Ocaml]
any other options to pass to the preprocessor
ppsrcloc [Ocaml]
the function which takes the source file path and generates the string the will be inserted at the beginning of files when they are copied.

R
revised [Ocaml]
whether the revised syntax of OCaml should be used; default: false
run [Pipeline]
run ~input ~output pip executes the given pipeline pip by instanciating the internal file names used in the pipeline using input and output files.

S
script_dir [Common]
script_dir is meant to hold the absolute path to the directory which contains the script, or just the current directory at the time when ocamlscript was started if the script is not read from a file.
sources [Ocaml]
Extra source files (processed with camlp4 but not ocamllex).

T
trash [Common]
runtime trash which may contain the name of the executable itself, for self-removal, in case it is a temporary file (e.g.

U
use_camlp4 [Ocaml]
whether to use camlp4 preprocessing or not; default: true
use_ocamlc [Ocaml]
whether to use ocamlc instead of ocamlopt; default: false
use_ocamlfind [Ocaml]
whether to use ocamlfind even if !packs is empty; default: false
use_ocamllex [Ocaml]
whether to use ocamllex or not; default: false

V
verbose [Common]
If this option is true, ocamlscript prints some debugging information to stdout.