Subject: Alternative *ML syntaxes [was: Re: StudlyCaps ]
From: rpw3@rpw3.org (Rob Warnock)
Date: Sun, 17 Nov 2002 04:24:32 -0600
Newsgroups: comp.lang.lisp
Message-ID: <vKucnQxLUPb980qgXTWcpA@giganews.com>
Erik Naggum  <erik@naggum.no> wrote:
+---------------
| Life would be hell if I had to look at HTML without the ability to
| convert it into a rational syntax upon reading from and back into
| the irrational upon writing to file.
...
| I have come to prefer {} over <>, but whether to use \foo{} instead
| of {foo} is also a personal decision.
+---------------

So which do you find you use more often, and why?

I once tried (with some modest success) to use \foo{} to encode HTML,
and since I had also used \(s-expr) for embedded Lisp (well, Scheme,
but that was a long time ago) I ended up using a hacky [] for attributes,
e.g., \body[bgcolor="#ffffff"]{body text}, which very quickly got ugly,
which is why lately I've been using Tim Bradshaw's HTOUT: package, e.g.,
((:body :bgcolor "#ffffff") body text).

Anyway, I'm curious as to what you used with the \foo{...} and {foo ...}
syntaxes to represent attributes...


-Rob

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