snippetbashTip
scheme — MIT Scheme language interpreter and REPL (interactive shell). More information: <https://www.gnu.org
Viewed 0 times
commandlanguageandclischemeinterpretermit
Problem
How to use the
scheme command: 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>.Solution
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):
schemeRun a scheme program (with no REPL output):
scheme < {{script.scm}} --quietLoad 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 --quietCode Snippets
Start a REPL (interactive shell)
schemeRun a scheme program (with no REPL output)
scheme < {{script.scm}} --quietLoad 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 --quietContext
tldr-pages: common/scheme
Revisions (0)
No revisions yet.