Gentoo Archives: gentoo-lisp

From: "Marijn Schouten (hkBst)" <hkBst@g.o>
To: gentoo-lisp@l.g.o
Cc: Nick <gentoo-lisp@××××××.uk>
Subject: Re: [gentoo-lisp] mit-scheme-c problems
Date: Mon, 28 Dec 2009 10:10:24
In Reply to: [gentoo-lisp] mit-scheme-c problems by Nick
On Wednesday 23 December 2009 09:56:33 Nick wrote:
> Hi there, > > I'm just learning Lisp, as I start to work through the Structure and > Interpretation of Computer Programs book, and I'm having troubles > getting the mit-scheme-c to be co-operative. > > I rather suspect that the error lies with me being stupid, but I'd > be everso grateful for a little help. > > Essentially, whenever I try to load any scheme from a file into > mit-scheme-c, it mis-reads it. A transcript will do well to > illustrate: > > ------------------------------------------------- > echo '(define testvar 2)' | scheme
I think this should work: echo '(define testvar 2)' | scheme --batch-mode Marijn