LinuxCommandLibrary

scheme

TLDR

Start REPL

$ scheme
copy
Run file
$ scheme [file.scm]
copy
Evaluate expression
$ scheme -e "[(+ 1 2)]"
copy
Load file then REPL
$ scheme -l [file.scm]
copy
Quiet mode
$ scheme -q
copy

SYNOPSIS

scheme [-e expr] [-l file] [options] [file]

DESCRIPTION

scheme runs Scheme programs. It provides a Lisp dialect.
Interactive REPL. Experiment with code.
Functional programming language. First-class functions.
R5RS/R7RS compatible. Standard Scheme.
Various implementations exist. MIT Scheme, Chez, Guile.

PARAMETERS

-e EXPR

Evaluate expression.
-l FILE
Load file.
-q
Quiet startup.
--help
Show help.
--version
Show version.

CAVEATS

Implementation varies. Name may differ (guile, mit-scheme). Portability concerns.

HISTORY

Scheme was designed by Guy Steele and Gerald Sussman in 1975. Various implementations provide the scheme command.

SEE ALSO

guile(1), racket(1), clisp(1)

Copied to clipboard