mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
629 B
Plaintext
30 lines
629 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# scheme
|
|
|
|
> MIT Scheme language interpreter and REPL (interactive shell).
|
|
> More information: <https://www.gnu.org/software/mit-scheme/documentation/stable/mit-scheme-user.html#Command_002dLine-Options>.
|
|
|
|
- Start a REPL (interactive shell):
|
|
|
|
`scheme`
|
|
|
|
- Run a scheme program (with no REPL output):
|
|
|
|
`scheme < {{script.scm}} --quiet`
|
|
|
|
- Load a scheme program into the REPL:
|
|
|
|
`scheme --load {{script.scm}}`
|
|
|
|
- Load scheme expressions into the REPL:
|
|
|
|
`scheme --eval "{{(define foo 'x)}}"`
|
|
|
|
- Open the REPL in quiet mode:
|
|
|
|
`scheme --quiet`
|