1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:22:08 +02:00
tldr/pages/common/scheme.md
2020-12-11 21:27:28 +00:00

24 lines
469 B
Markdown

# scheme
> MIT Scheme language interpreter and REPL (interactive shell).
> More information: <https://www.gnu.org/software/mit-scheme>.
- Open an interactive shell (REPL):
`scheme`
- Run a scheme program (with no REPL output):
`scheme --quiet < {{script.scm}}`
- 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`