[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Aug 23 13:48:22 2001 
Subject:Re: "@" symbol in common lisp (the answer) 
From:Aaron Sloman See text for reply address 
Volume-ID:1010823.03 

I previously wrote

> A colleague in the university of Notre Dame wants to use Poplog for
> teaching AI, including using Common Lisp.
>
> He finds that the code that goes with the Russell and Norvig AI textbook
> will not compile because of the use of "@" e.g. in
>
>     (defun @ (x y) "Create a 2-D point" (make-xy :x x :y y))
>
> Does anyone know a good strategy for dealing with this? I am not
> a lisp user, so don't know where to start.

I have now learnt that he asked John Williams, the main poplog lisp
implementor, who replied as follows:


| [From JohnW]
| You can fix Poplog Common Lisp's unusual handling of "@" by doing:
|
|     (set-syntax-from-char '@ 'a)
|
| If you place this in a file called "init.lsp" in the directory where the
| "clisp" binary lives it should be executed every time Clisp starts up.
|
|
| >In general, I would be interested in knowing to what extent the poplog
| >version of CLISP is compatible with other ones?
|
| Poplog Common Lisp is an almost complete implementation of the language
| defined in Guy Steele's book 'Common Lisp: The Language, 2nd Edition'
| (Digital Press, 1990). If you type "help bugs" to the Clisp prompt (==)
| you should get a help file listing the known bugs and unimplemented
| features.
|
|
| >I'd also be interested if you anybody who has used the poplog lisp with
| >the AIMA (Artificial Intelligence- A Modern Approach, Russell and
| >Norvig, 1995) book?
|
| Sorry, I don't know of anyone who has done this.

Has anyone else tried?

Aaron
====
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk   (ReadATas@please !)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html