[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Axiom-developer] RE: Boot vs. Lisp
From: |
Weiss, Juergen |
Subject: |
RE: [Axiom-developer] RE: Boot vs. Lisp |
Date: |
Sun, 6 Nov 2005 17:12:55 +0100 |
Dear Bill,
> -----Original Message-----
> From: Bill Page [mailto:address@hidden
> Sent: Wednesday, November 02, 2005 4:50 PM
> To: Weiss, Juergen
> Cc: address@hidden
> Subject: RE: [Axiom-developer] RE: Boot vs. Lisp
>
>
> Of course ANSI lisp includes 'destructuring-bind' and other
> operators which support this kind of thing.
>
> http://www.cs.queensu.ca/software_docs/gnudev/gcl-ansi/gcl_443
> .html#SEC443
> http://www.bookshelf.jp/texi/onlisp/onlisp_19.html
>
> "Destructuring is a generalization of assignment. The
> operators setq and setf do assignments to individual
> variables. Destructuring combines assignment with access:
> instead of giving a single variable as the first argument,
> we give a pattern of variables, which are each assigned
> the value occurring in the corresponding position in some
> structure."
In MAC Lisp, I think, there was even a destructuring setq.
One can extend the Common Lisp syntax by macros
to get something like destructuring comparisons. (I did
a google search a few days ago, for destructuring setq --
I found http://www.bookshelf.jp/texi/onlisp/onlisp_19.html)
But I think the BOOT syntax is much more concise. Much
of the current AXIOM code (interpreter and SPAD library
compiler) operates on lists representing parse trees of
the user input. Here the BOOT syntax is extremely handy.
As I said, a total rewrite with different data structures
may obsolete this advantage. But I think we are far away
from that aim.
And if a reimplementation is indeed going to happen,
we should certainly consider A# as the implementation
language. I cannot follow Tim's opinion, that it's level
is too high (can't find the reference though).
Regards
Juergen Weiss
Juergen Weiss | Universitaet Mainz, Zentrum fuer Datenverarbeitung,
address@hidden| 55099 Mainz, Tel: +49(6131)39-26361, FAX:
+49(6131)39-26407
- Re: [Axiom-developer] Units Package, (continued)
Re: [Axiom-developer] RE: Boot vs. Lisp, Gabriel Dos Reis, 2005/11/02
RE: [Axiom-developer] RE: Boot vs. Lisp, Weiss, Juergen, 2005/11/02
Re: [Axiom-developer] RE: Boot vs. Lisp, Gabriel Dos Reis, 2005/11/02
RE: [Axiom-developer] RE: Boot vs. Lisp, Weiss, Juergen, 2005/11/06
RE: [Axiom-developer] RE: Boot vs. Lisp,
Weiss, Juergen <=
RE: [Axiom-developer] RE: Boot vs. Lisp, Weiss, Juergen, 2005/11/06