1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 06:18:17 +01:00
tldr/pages/common/scheme.md
2018-10-30 20:34:59 +05:30

406 B

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