mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-02 00:15:25 +02:00
scheme: add page (#2511)
This commit is contained in:
parent
2fe3be3c92
commit
f323e9fc9a
1 changed files with 23 additions and 0 deletions
23
pages/common/scheme.md
Normal file
23
pages/common/scheme.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# scheme
|
||||||
|
|
||||||
|
> MIT Scheme language interperter and REPL (interactive shell).
|
||||||
|
|
||||||
|
- 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`
|
Loading…
Add table
Reference in a new issue