scsh-users
[Top] [All Lists]

Re: Arc a la carte --- does not work

To: mmc@maruska.dyndns.org (Michal Maruška)
Subject: Re: Arc a la carte --- does not work
From: "Walter C. Pelissero" <walter@pelissero.org>
Date: Thu, 14 Mar 2002 23:15:38 +0000
Cc: scsh-news@zurich.ai.mit.edu
Reply-to: walter@pelissero.org
Michal Maru¹ka writes:
 > i added these lines in scsh/scsh-read.scm:
 > 
 > ;;; Arc à la carte
 > (set-standard-read-macro! #\[ #t
 >     (lambda (c port)
 >       (list
 >        'lambda '(_) (sub-read-list c port))))
 > 
 > (set-standard-read-macro! #\] #t
 >    (lambda (c port)
 >      c port close-paren))
 > 
 > 
 > made:
 > $ make clean         # i tried distclean, too
 > $ make
 > 
 > but it does not work:
 > 
 > scsh/scsh-0.6 $./go
 > Welcome to scsh 0.6.1 (Combinatorial Algorithms)
 > Type ,? for help.
 > >   (map [/ _ 2] '(2 4 6 8 10))
 > 
 > Error: illegal character read
 >        #\[
 >        #{Input-fdport #{Input-channel "standard input"}}
 > > 
 > 
 > 
 > Can you tell me, how you got it to work?
 > 

As far as I can remember that module goes into initial.image.
Therefore you have to regenerate the initial.image.  If I'm not wrong
this needs a working Scheme48 already installed in your system.

-- 
walter pelissero
http://www.pelissero.org

<Prev in Thread] Current Thread [Next in Thread>