Subject: Re: Lispy Python (was Re: Java, was Re: Be afraid of XML)
From: rpw3@rpw3.org (Rob Warnock)
Date: Wed, 07 Apr 2004 03:51:13 -0500
Newsgroups: comp.lang.lisp
Message-ID: <rpadnUqpq9ecXO7dRVn-hg@speakeasy.net>
Jeff Dalton  <jeff@todday.inf.ed.ac.uk> wrote:
+---------------
| Peter Seibel <peter@javamonkey.com> writes:
| > you're going to have a hard time representing abstract syntax trees in
| > a way that's convenient for macros to operate on them.
| 
| I'm not so sure about that.  A subexpression can still be
| a sublist.  Imagine that [ ... ] was a notation for vectors
| in Lisp.  Here's an example expression:
| 
|    [if [> x y] [f x] [f [g x]]]
| 
| All those lists could be vector-based lists.  
+---------------

See my reply elsewhere in this thread on the problems that creates
with PROGN bodies:

    [progn [f x] [foo bar] [f [g x]] [baz gorp] [quxx blat]]
                          |
(Hint: What must be saved +-- here to get back from the call to "f"?)


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607