Re: on the evolution of lisp

Liste des GroupesRevenir à cl scheme 
Sujet : Re: on the evolution of lisp
De : HenHanna (at) *nospam* devnull.tb (HenHanna)
Groupes : comp.lang.lisp comp.lang.scheme
Date : 17. Jun 2024, 09:07:48
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4onc4$hh2o$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 6/16/2024 5:11 PM, Julieta Shem wrote:
HenHanna <HenHanna@devnull.tb> writes:
 
On 2/2/2024 7:52 AM, Julieta Shem wrote:
 [...]
 
(*) Alan Bawden
Hey, Alan!  I didn't know who you were.  (I like not to know who I'm
talking to.)  The document spoke very highly of you.  It first mentions
you were in the Commmon Lisp Group and eventually calls you a
backquote-meister.  Impressive!
    The backquote syntax was particularly powerful when nested.  This
    occurred primarily within macro-defining macros; because such were
    coded primarily by wizards, the ability to write and interpret nested
    backquote expressions was soon surrounded by a certain mystique.  Alan
    Bawden of MIT acquired a particular reputation as backquote-meister in
    the early days of the Lisp Machine.
We also learned about synctatic closures.  Very cool.
>
>
       yes, he is the backquote-meister  --- Checkout his paper on it.
 (It's great to have the experts around.)
 There are so many papers.  I suppose you mean
    Bawden, Alan. ``Quasiquotation in Lisp.'' PEPM, 1999.
 Thanks.
yes.  i think that's the one....
i think there are 2 PDF versions (floating around).
_________________________the following Backquotes aren't  really nested.
(define-macro (ave x)
   `(/ (+ ,@ (map (lambda (n) `(+ ,@ (make-list n 1))) (cadr x)))
       (+ ,@ (map (lambda (n) 1) (cadr x)))))
(print (ave  '(1)))
(print (ave  '(1 2 3)))
gosh> (macroexpand '(ave '(1 2 3)))
          ==>        (/ (+ (+ 1) (+ 1 1) (+ 1 1 1)) (+ 1 1 1))

Date Sujet#  Auteur
17 Jun 24 o Re: on the evolution of lisp1HenHanna

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal