On 27-Jan-09, at 9:48 PM, Marijn Schouten (hkBst) wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi lists,
for building JazzScheme it is necessary to issue commands at the gscrepl. For packaging up JazzScheme for Gentoo I need some way to do that in a bash script. I'm trying to get the quit command of JazzScheme's build system to work for now. These don't work:
gsc <<<"quit" gsc /dev/stdin <<<"quit" gsc -e '(load "kernel/build") quit'
Any ideas?
Use the -:d- runtime option (which forces the REPL to use stdin/stdout):
% echo "(+ 1 2)" | gsc -:d- -i Gambit v4.4.0
3
*** EOF again to exit %
Marc