LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

scheme

Scheme programming language interpreter

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 is an interpreter for the Scheme programming language, a minimalist dialect of Lisp emphasizing functional programming, lexical scoping, and first-class procedures. It provides both an interactive REPL for experimentation and the ability to run Scheme source files directly.Scheme's design follows the R5RS and R7RS language standards, providing a small but powerful core with features like proper tail recursion, continuations, and hygienic macros. The interactive REPL allows evaluating expressions immediately, making it well-suited for learning, prototyping, and exploring algorithms.The scheme command may refer to different implementations depending on the system, including MIT/GNU Scheme, Chez Scheme, or GNU Guile. Each implementation offers its own extensions beyond the standard, so behavior and available libraries may vary.

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid