sci(1)

sci1

Scheme interpreter

Part of s2ci(1).

Usage

s2ci [option]

Overview

The s2ci command (previously known as sci) invokes a Scheme interpreter. The language accepted by this interpreter is that defined in the essential portions of the Revised4 Report on the Algorithmic Language Scheme, with minor constraints and some additions. The Scheme interpreter is written in Scheme which has then been compiled using the Scheme-to-C compiler, s2cc.

Options

These options are accepted by s2ci.

-e

Echo text read from the standard input file on the standard output file.

-emacs

Scheme interpreter is controlled by GNU emacs.

-nh

Do not print the interpreter version header on the standard output file.

-np

Do not prompt for input from the standard input file on the standard output file.

-q

Do not print the result of each expression evaluation.

-scgc statflag

Enables garbage collection statistics. If set to 1, then garbage collection statistics will be printed. The default is 0, that will result in no statistics.

-sch heap

Specifies the initial size of the heap in megabytes. The default heap size is 4 MB. The maximum heap size allowed is 1000 MB.

-scl percent

Specifies the percent of the heap allocated after a generational garbage collection that will force a full collection. The default is 40%.

-scm main

Specifies the function that should be used instead of the predefined "main". The function name must be entered in the correct case, i.e. letters typically upshifted.

-scmh heap

Specifies the maximum heap size in megabytes. The default is five times the initial size of the heap.

Environment

The items controlled by -sc.. flags can also be controlled by environment variables. If both the flag and the environment variable are provided, then the flag's value will be used.

SCGCINFO

Controls the reporting of garbage collection statistics to the standard error file. If set to 1, then garbage collection statistics will be printed. The default setting is 0 that will not print the statistics.

SCHEAP

Specifies the initial size of the heap in megabytes. The default heap size is 4 MB. The maximum heap size allowed is 1000 MB.

SCLIMIT

Specifies the percent of the heap allocated after a generational garbage collection that will force a full collection. The default is 40%.

SCMAXHEAP

Specifies the maximum size of the heap in megabytes. The default value is five times the initial heap size.

Files

The interpreter is one a.out file with the name s2ci. All files associated with the interpreter are found in the directory .../schemetoc/scrt.

Questions, comments, and complaints

http://alioth.debian.org/projects/scheme2c/

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–8

From scheme2c 2012.10.14-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.