NAME
pike - pike compiler and interpreter
SYNOPSIS
pike [ -driver-options ... ] [ script [ script-arguments ... ] ]
DESCRIPTION
Compiler and interpreter for the Pike programming language.
OPTIONS
The following options are supported by the loader:
- -a
-
Increase the debug level of the peep-hole optimizer with 1 (debug).
- -anum
-
Set the debug level of the peep-hole optimizer to num (debug).
- -Dsymbol
-
Define the preprocessor symbol symbol to 1.
- -Dsymbol=value
-
Define the preprocessor symbol symbol to value.
- -d
-
Increase the debug level with 1 (debug).
- -dnum
-
Set the debug level to num (debug).
- -dc
-
Increase the debug level of the Pike compiler (debug).
- -ds
-
Debug signals (debug).
- -dt
-
Turn off tail recursion optimization (debug).
- -l
-
Increase the debug level of the global optimizer with 1 (debug).
- -lnum
-
Set the debug level of the global optimizer to num (debug).
- -mmaster_program
-
Use master_program instead of the ordinary master program.
- -qnum
-
End execution after executing num Pike instructions.
- -snum
-
Set Pike stack size to num (minimum is 256).
- -t
-
Increase the level of runtime trace with 1 (debug).
- -tnum
-
Set the level of runtime trace to num (debug).
- -p
-
Increase the level of profiling with 1 (debug).
- -pnum
-
Set the level of profiling to num (debug).
- -rt
-
Turn on runtime checking of arguments to function calls, and soft casts.
- -rT
-
Turn on for all files.
The following options are supported by the default master program:
- -h, --help,
-
Print help message and exit.
- -eexpr,--execute=expr
-
Execute expr and exit.
- -E, --preprocess
-
Just run the preprocessor.
- -Idir,--include-path=dir
-
Append dir to the include path.
- -Mdir,--modue-path=dir
-
Append dir to the module path.
- -Pdir,--program-path=dir
-
Append dir to the program path.
- -v, --version
-
Print version of Pike and exit.
- -w, --warnings
-
Enable warnings.
- -W, --woff, --no-warnings
-
Disable warnings.
- --compiler-trace
-
Turn on tracing of the Pike compiler (debug).
- --debug
-
Increase or set the debug level (debug).
- --show-paths
-
Show the paths pike will use and exit (debug).
- --trace
-
Increase the trace level (debug).
- --trace=num
-
Set the trace level to num (debug).
OPERANDS
The following operand is supported:
- script
-
A path to a script written in Pike to be compiled and then executed. Everything on the commandline after the script is passed as arguments to the script.
If no script is specified, pike will start in interactive- (Hilfe) mode.
REGISTRY KEYS
On NT, Pike is affected by the following keys in the registry:
HKEY_CURRENT_USER\Software\Idonex\Pike\0.6\PIKE_MASTER HKEY_LOCAL_MACHINE\Software\Idonex\Pike\0.6\PIKE_MASTER
Specifies the name of the master program (overridden by -mmaster_program ).
On NT, the default master program is affected by the following keys in the registry:
HKEY_CURRENT_USER\Software\Idonex\Pike\0.6\share_prefix HKEY_LOCAL_MACHINE\Software\Idonex\Pike\0.6\share_prefix
Specifies the prefix for architecture independant files. share_prefix/include is added to the include path, and share_prefix/modules is added to the module path.
HKEY_CURRENT_USER\Software\Idonex\Pike\0.6\lib_prefix HKEY_LOCAL_MACHINE\Software\Idonex\Pike\0.6\lib_prefix
Specifies the prefix for architecture dependant files. lib_prefix/include is added to the include path, and lib_prefix/modules is added to the module path.
ENVIRONMENT
Pike is affected by the following environment variables:
- PIKE_MASTER
-
Specifies the name of the master program (overridden by -mmaster_program ).
Depending on operating system Pike may be affected by the following environment variables:
- LC_ALL
-
Overrides the other LC_* variables.
- LC_COLLATE
-
Specifies the character collation sequence.
- LC_CTYPE
-
Specifies the character classification.
- LC_MESSAGES
-
Specifies the language of the system messagedatabase.
- LC_NUMERIC
-
Specifies the decimal and thousand delimiters.
- LC_TIME
-
Specifies the date and time formats.
The default master program is affected by the following environment variables:
- PIKE_INCLUDE_PATH
-
List of directories separated with colon (:), to search for include-files.
- PIKE_PROGRAM_PATH
-
List of directories separated with colon (:), to search for program-files.
- PIKE_MODULE_PATH
-
List of directories separated with colon (:), to search for modules.
Note that the above environment variables have effect before the default master program attempts to load the Getopt(3P) module, which occurrs before the master program arguments are parsed.
EXIT STATUS
The following exit values are returned:
- 0
-
Successfull completion.
- >0
-
An error occurred. See output on stderr (fd #2) for reason.
FILES
- /usr/local/lib/pike/master.pike
-
default master program
- /usr/local/lib/pike/modules/*
-
dynamically loaded modules
- /usr/local/share/pike/modules/*
-
modules implemented in pike
- /usr/local/lib/pike/include/*
-
architecture dependant include-files
- /usr/local/share/pike/include/*
-
pike include files
SEE ALSO
hilfe(1), Getopt(3P), environ(5)
Pike Programming Tutorial