私がどのように見えるtest.scmというファイルがあります:非replモードでmit/gnu方式をどのように使用しますか?
(display 5)
と、私はこの
cat test.scm | scheme
またはこの
scheme < test.scm
またはこのような
などのように行くをcat test.scm | scheme > output.txt
私が得る
MIT/GNU Scheme running under GNU/Linux
Type `^C' (control-C) followed by `H' to obtain information about interrupts.
Copyright (C) 2011 Massachusetts Institute of Technology
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Image saved on Sunday February 7, 2016 at 10:35:34 AM
Release 9.1.1 || Microcode 15.3 || Runtime 15.7 || SF 4.41
LIAR/x86-64 4.118 || Edwin 3.116
1 ]=> 5
;Unspecified return value
1 ]=>
End of input stream reached.
Moriturus te saluto.
以下の情報を得るにはどうすればよいですか?
5
[MIT-Schemeで.scmスクリプト(REPL外)を実行するにはどうすればよいですか?](https://stackoverflow.com/questions/903968/how-do-i-execute-a- scm-script-out-of-the-repl-with-mit-scheme) – Flux