Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-lisp
Navigation:
Lists: gentoo-lisp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-lisp@g.o
From: Nick <gentoo-lisp@...>
Subject: mit-scheme-c problems
Date: Wed, 23 Dec 2009 08:56:33 +0000
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
MIT/GNU Scheme running under GNU/Linux
Type `^C' (control-C) followed by `H' to obtain information about interrupts.

Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
    1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007 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 Wednesday December 23, 2009 at 4:25:28 AM
  Release 7.7.90.+ || Microcode 15.1 || Runtime 15.7

1 ]=>
;Unbound variable: |testvarâ|
;To continue, call RESTART with an option number:
; (RESTART 3) => Specify a value to use instead of |testvarâ|.
; (RESTART 2) => Define |testvarâ| to a given value.
; (RESTART 1) => Return to read-eval-print level 1.

2 error>
End of input stream reached.
Happy Happy Joy Joy.
-------------------------------------------------

The same thing happens if I try to load a file, either using 
mit-scheme-c < testfile or mit-scheme-c --load testfile

This happens with both versions in the Lisp overlay, 20080130 and
20090107.

As I say, seems like it must be me being stupid, but I cannot see 
how.

Thanks alot,

Nick


-- 
GPG : 0x04E4653F | 9732 D7C7 A441 D79E FDF0  94F6 1F48 5674 04E4 653F


Replies:
Re: mit-scheme-c problems
-- Marijn Schouten (hkBst)
Navigation:
Lists: gentoo-lisp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Stumpwm emacs dependency
Next by thread:
Re: mit-scheme-c problems
Previous by date:
Re: Stumpwm emacs dependency
Next by date:
Re: mit-scheme-c problems


Updated May 02, 2012

Summary: Archive of the gentoo-lisp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.