Hi everyone,
I practise lisp language, Due to study AI related to AIMA source
program. I found the code doesn't work because the "Allegro 6.2 lisp"
mlisp's default setting is case-sensitve-low not, case-insensive.
I don't know how to switch it. Could anyone help me?
Thank you for your attention.
kind regards/chenyu
·········@21cn.com (chenyu) writes:
> Hi everyone,
> I practise lisp language, Due to study AI related to AIMA source
> program. I found the code doesn't work because the "Allegro 6.2 lisp"
> mlisp's default setting is case-sensitve-low not, case-insensive.
>
>
> I don't know how to switch it. Could anyone help me?
Read the Reader chapter of CLHS and in particular the page about
readtable-case:
http://www.lispworks.com/reference/HyperSpec/Front/index.htm
http://www.lispworks.com/reference/HyperSpec/Body/f_rdtabl.htm
--
__Pascal_Bourguignon__ http://www.informatimago.com/
----------------------------------------------------------------------
Do not adjust your mind, there is a fault in reality.
Pascal Bourguignon <····@thalassa.informatimago.com> writes:
> ·········@21cn.com (chenyu) writes:
>
>> Hi everyone,
>> I practise lisp language, Due to study AI related to AIMA source
>> program. I found the code doesn't work because the "Allegro 6.2 lisp"
>> mlisp's default setting is case-sensitve-low not, case-insensive.
>>
>>
>> I don't know how to switch it. Could anyone help me?
>
> Read the Reader chapter of CLHS and in particular the page about
> readtable-case:
This is unlikely to be good advice in the case of Franz' lisp in
"modern" mode, which if I remember correctly from the last time this
was hashed out (though I defer to those representatives of Franz) has
some fundamental incompatibilities with the Common Lisp language as
defined by ANSI.
Instead, to the Original Poster, I would advise you to follow the
instructions supplied for generating an ANSI image from your "modern"
image, and then use that to do your experiments.
Christophe
--
http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge)
From: Peter Seibel
Subject: Re: newbie case-sensitive switch in lisp compiler (FRANZ)
Date:
Message-ID: <m3vfw6rjnb.fsf@javamonkey.com>
Christophe Rhodes <·····@cam.ac.uk> writes:
> Pascal Bourguignon <····@thalassa.informatimago.com> writes:
>
> > ·········@21cn.com (chenyu) writes:
> >
> >> Hi everyone,
> >> I practise lisp language, Due to study AI related to AIMA source
> >> program. I found the code doesn't work because the "Allegro 6.2 lisp"
> >> mlisp's default setting is case-sensitve-low not, case-insensive.
> >>
> >>
> >> I don't know how to switch it. Could anyone help me?
> >
> > Read the Reader chapter of CLHS and in particular the page about
> > readtable-case:
>
> This is unlikely to be good advice in the case of Franz' lisp in
> "modern" mode, which if I remember correctly from the last time this
> was hashed out (though I defer to those representatives of Franz) has
> some fundamental incompatibilities with the Common Lisp language as
> defined by ANSI.
>
> Instead, to the Original Poster, I would advise you to follow the
> instructions supplied for generating an ANSI image from your
> "modern" image, and then use that to do your experiments.
No need--use the provided "alisp" program instead of "mlisp" and
you'll get a ANSI image.
-Peter
--
Peter Seibel ·····@javamonkey.com
Lisp is the red pill. -- John Fraser, comp.lang.lisp
From: Matthew Danish
Subject: Re: newbie case-sensitive switch in lisp compiler (FRANZ)
Date:
Message-ID: <20030518072342.A11522@mapcar.org>
On Sat, May 17, 2003 at 08:32:12PM -0700, chenyu wrote:
> Hi everyone,
> I practise lisp language, Due to study AI related to AIMA source
> program. I found the code doesn't work because the "Allegro 6.2 lisp"
> mlisp's default setting is case-sensitve-low not, case-insensive.
>
> I don't know how to switch it. Could anyone help me?
Use the `alisp' program instead. Or start the ``ANSI'' image. (depending on
your OS).
--
; Matthew Danish <·······@andrew.cmu.edu>
; OpenPGP public key: C24B6010 on keyring.debian.org
; Signed or encrypted mail welcome.
; "There is no dark side of the moon really; matter of fact, it's all dark."