csi — The CHICKEN Scheme interpreter
Contents
Bugs
Submit bug reports by e-mail to chicken-janitors@nongnu.org
Debian Apr 26, 2017 CSI(1)
Description
csi is an interpreter for the programming language Scheme supporting most of the features as described in
the Revised^5 Report on the Algorithmic Language Scheme. csi is implemented as a program compiled with
the CHICKEN compiler.
FILENAME is a Scheme source file name with optional extension. OPTION may be one of the following:
-h, -help
Display usage and exit.
-version
Display version and exit.
-release
Print release number and exit.
-i, -case-insensitive
Enable case-insensitive reading.
-eEXPRESSION, -evalEXPRESSION
Evaluate the given expression.
-pEXPRESSION, -printEXPRESSION
Evaluate and print the result(s) of the given expression.
-PEXPRESSION, -pretty-printEXPRESSION
Evaluate and print result(s) prettily.
-DSYMBOL, -featureSYMBOL
Register feature identifier.
-no-featureSYMBOL
Disable built-in feature identifier.
-q, -quiet
Do not print banner.
-n, -no-init
Do not load initialization file. ‘.csirc’
-b, -batch
Terminate after command-line processing.
-w, -no-warnings
Disable all warnings.
-KSTYLE, -keyword-styleSTYLE
Enable alternative keyword-syntax (prefix, suffix or none)
-no-parentheses-synonyms
Disable list delimiter synonyms.
-no-symbol-escape
Disables support for escaped symbols.
-r5rs-syntax
Disable the CHICKEN extensions to R5RS syntax.
-sPATHNAME, -scriptPATHNAME
Use interpreter for shell scripts.
-ssPATHNAME
Run a script with a ‘main’ procedure
-sxPATHNAME
Same as -s, but print each expression as it is evaluated.
-setup-mode
Prefer the current directory when locating extensions.
-RNAME, -require-extensionNAME
Import extension before executing code.
-IPATHNAME, -include-pathPATHNAME
Add PATHNAME to the include path.
-- Ignore all following options.
Environment
The following environment variables change the behaviour of csi:
CSI_OPTIONS When set to a string of command-line options, then the options are passed
implicitly to every direct or indirect invocation of csi. Note that runtime options
of the form ‘-:⟨OPTIONS⟩’ cannot be passed using this method.
CHICKEN_INCLUDE_PATH Contains one or more pathnames where the interpreter should also look for include
files, separated by ‘;’ characters.
Exit Status
The csi utility exits 0 on success, and >0 if an error occurs.
Files
$XDG_CONFIG_HOME/chicken/csirc
Scheme file loaded on startup. ( $XDG_CONFIG_HOME defaults to $HOME/.config )
$HOME/.csirc
Scheme file loaded on startup if the previous one doesn’t exists.
Name
csi — The CHICKEN Scheme interpreter
See Also
chicken(1), csc(1) More information can be found in the CHICKENUser'sManual: http://wiki.call-cc.org/manual/index.
Synopsis
csi [OPTION...] [FILENAME...]
