I've found this question where people recommend to use mit-scheme for solving exercises from SICP. After doing some python and ruby I'm wondering is it possible to use mit-scheme interpreter/compiler in the same manner how can be used ruby or python? By this I mean simply write the script in vim and run mit-scheme my_script.scm
in terminal to see the output.
update
Seems like mit-scheme < my_script.scm
does what I was looking for, but its output is too verbose.
Ideally, I'd like to see in the output only things which I deliberately sent to stdout
.
You are looking for the --silent
flag.
Usage: mit-scheme --silent < my-script.scm