PEP0238 lament
Terry Reedy
tjreedy at home.com
Thu Jul 26 15:00:39 EDT 2001
"Paul Foley" <see at below> wrote in message
news:m2y9pc5ljc.fsf at mycroft.actrix.gen.nz...
> Yes, that's pretty much what I was getting at. Lisp isn't text
> containing parentheses, it's lists or trees of objects, which has no
> parentheses (unless you have some reason to want to represent a
> parenthesis-object in your code; e.g., as a character). The printed
> representation of
>
> a
> / \
> b c
>
> as (a b c) is just an easier-to-deal-with form of "marshal" output.
Has anyone writen an environment that uses the 'proper' 2-D,
unmarshalled tree form? I think I might prefer such.
> Nothing says you have to use that particular print representation,
> though everybody does
who can tolerate the flattened form.
Terry J. Reedy
More information about the Python-list
mailing list