1CSI(1)                    BSD General Commands Manual                   CSI(1)
2

NAME

4     csi — The CHICKEN Scheme interpreter
5

SYNOPSIS

7     csi [OPTION ...] [FILENAME ...]
8

DESCRIPTION

10     csi is an interpreter for the programming language Scheme supporting most
11     of the features as described in the Revised^5 Report on the Algorithmic
12     Language Scheme.  csi is implemented as a program compiled with the
13     CHICKEN compiler.
14
15     FILENAME is a Scheme source file name with optional extension.  OPTION
16     may be  one of the following:
17
18     -h, -help
19             Display usage and exit.
20
21     -version
22             Display version and exit.
23
24     -release
25             Print release number and exit.
26
27     -i, -case-insensitive
28             Enable case-insensitive reading.
29
30     -e EXPRESSION, -eval EXPRESSION
31             Evaluate the given expression.
32
33     -p EXPRESSION, -print EXPRESSION
34             Evaluate and print the result(s) of the given expression.
35
36     -P EXPRESSION, -pretty-print EXPRESSION
37             Evaluate and print result(s) prettily.
38
39     -D SYMBOL, -feature SYMBOL
40             Register feature identifier.
41
42     -no-feature SYMBOL
43             Disable built-in feature identifier.
44
45     -q, -quiet
46             Do not print banner.
47
48     -n, -no-init
49             Do not load initialization file.  ‘.csirc’
50
51     -b, -batch
52             Terminate after command-line processing.
53
54     -w, -no-warnings
55             Disable all warnings.
56
57     -K STYLE, -keyword-style STYLE
58             Enable alternative keyword-syntax (prefix, suffix or none)
59
60     -no-parentheses-synonyms
61             Disable list delimiter synonyms.
62
63     -no-symbol-escape
64             Disables support for escaped symbols.
65
66     -r5rs-syntax
67             Disable the CHICKEN extensions to R5RS syntax.
68
69     -s PATHNAME, -script PATHNAME
70             Use interpreter for shell scripts.
71
72     -ss PATHNAME
73             Run a script with a ‘main’ procedure
74
75     -sx PATHNAME
76             Same as -s, but print each expression as it is evaluated.
77
78     -setup-mode
79             Prefer the current directory when locating extensions.
80
81     -R NAME, -require-extension NAME
82             Import extension before executing code.
83
84     -I PATHNAME, -include-path PATHNAME
85             Add PATHNAME to the include path.
86
87     --      Ignore all following options.
88

ENVIRONMENT

90     The following environment variables change the behaviour of csi:
91
92     CSI_OPTIONS           When set to a string of command-line options, then
93                           the options are passed implicitly to every direct
94                           or indirect invocation of csi. Note that runtime
95                           options of the form ‘-:⟨OPTIONS⟩’ cannot be passed
96                           using this method.
97
98     CHICKEN_INCLUDE_PATH  Contains one or more pathnames where the inter‐
99                           preter should also look for include files, sepa‐
100                           rated by ‘;’ characters.
101

FILES

103     $XDG_CONFIG_HOME/chicken/csirc
104           Scheme file loaded on startup. ( $XDG_CONFIG_HOME defaults to
105           $HOME/.config )
106
107     $HOME/.csirc
108           Scheme file loaded on startup if the previous one doesn’t exists.
109

EXIT STATUS

111     The csi utility exits 0 on success, and >0 if an error occurs.
112

SEE ALSO

114     chicken(1), csc(1)
115
116     More information can be found in the CHICKEN User's Manual:
117     http://wiki.call-cc.org/manual/index
118

AUTHORS

120     The CHICKEN Team
121

BUGS

123     Submit bug reports by e-mail to chicken-janitors@nongnu.org
124
125BSD                              Apr 26, 2017                              BSD
Impressum