Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 370184 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)


pure - the Pure interpreter


pure [options ...] [script ...] [-- args ...]
pure [options ...] -x script [args ...]


Batch compilation.
--ctags, --etags
Create a tags file in ctags (vi) or etags (emacs) format.
Enable eager JIT compilation. This requires LLVM 2.7 or later, otherwise this flag will be ignored.
-fPIC, -fpic
Create position-independent code (batch compilation).
Enable symbolic debugging.
--help, -h
Print help message and exit.
Force interactive mode (read commands from stdin).
Add a directory to be searched for included source scripts.
Add a directory to be searched for dynamic libraries.
Library to be linked in batch compilation.
Disable command-line editing.
--noprelude, -n
Do not load the prelude.
Do not run the interactive startup files.
Output filename for batch compilation.
Quiet startup (suppresses sign-on message in interactive mode).
Tags file to be written by --ctags or --etags.
Do not strip unused functions in batch compilation.
Set verbosity level.
Print version information and exit.
Enable compiler warnings about various dubious constructs and backward compatibility issues.
Execute script with given command line arguments.
Stop option processing and pass the remaining command line arguments in the argv variable.


Pure is a modern-style functional programming language based on term rewriting. Pure programs are basically collections of equational rules used to evaluate expressions in a symbolic fashion by reducing them to normal form.

pure is the Pure interpreter. The interpreter has an LLVM backend which JIT-compiles Pure programs to machine code, hence programs run blazingly fast and interfacing to C modules is easy, while the interpreter still provides a convenient, fully interactive environment for running Pure scripts and evaluating expressions.

Basically, to run a Pure script with the interpreter, just specifiy the filename of the script on the command line. You can also invoke the interpreter without arguments, in which case it starts up in interactive mode. Or you can compile a script to a native executable (as well as a number of other recognized LLVM and native code formats) with the -c option (use -o to specify the output filename); this requires that you have some parts of the LLVM toolchain (llc, opt) as well as gcc installed. Last but not least, you can create a tags file for use with emacs(1) or vi(1) with the --etags and --ctags options.

The full version of this manual can be read inside the interpreter, by typing help on the interpreter's command line. This requires w3m(1) to work. (You can also set the name of another html browser to use with the PURE_HELP or the BROWSER environment variable.)


Default output filename for batch compilation (-c).
Interactive command history.
~/.purerc, .purerc, .pure
Interactive startup files. The latter is usually a dump from a previous interactive session.
Standard prelude. If available, this script is loaded before any other definitions, unless -n was specified.


If the PURE_HELP variable is not set (see below), this specifies a colon-separated list of browsers to try for reading the online documentation. See
Directory to search for library scripts, including the prelude. If PURELIB is not set, it defaults to some location specified at installation time.
Enable eager JIT compilation (same as --eager-jit).
Browser to use to read online documentation in the interpreter. By default, w3m(1) is used.
Additional directories (in colon-separated format) to be searched for included scripts.
Additional directories (in colon-separated format) to be searched for dynamic libraries.
Shell command to be used for paging through output of the show command, when the interpreter runs in interactive mode.
Command prompt used in the interactive command loop ("> " by default).
Maximum stack size in kilobytes (default: 0 = unlimited).


LGPL V3 or later. See the accompanying COPYING file for details.


Albert Graef <>, Dept. of Computer Music, Johannes Gutenberg University of Mainz, Germany.


You can find the latest releases and the mailing list at the Pure website,
Scandale dans le monde des deux roues :
les motos japonaises ont des moteurs brides.
-+- Les nuls -+-