tldr/pages/common/scheme.md

25 lines
469 B
Markdown
Raw Normal View History

2018-10-30 15:04:59 +00:00
# scheme
2020-12-04 12:37:44 +00:00
> MIT Scheme language interpreter and REPL (interactive shell).
> More information: <https://www.gnu.org/software/mit-scheme>.
2018-10-30 15:04:59 +00:00
- Start a REPL (interactive shell):
2018-10-30 15:04:59 +00:00
`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)}}"`
2018-10-30 15:04:59 +00:00
- Open the REPL in quiet mode:
`scheme --quiet`