Subject: Re: Future of LISP. Alternative to XML. Web 3.0?
From: rpw3@rpw3.org (Rob Warnock)
Date: Mon, 04 Dec 2006 04:18:39 -0600
Newsgroups: comp.lang.lisp
Message-ID: <H86dnT1WRrFiaO7YnZ2dnUVZ_tWdnZ2d@speakeasy.net>
Juan R. <juanrgonzaleza@canonicalscience.com> wrote:
+---------------
| For instance, still the LISP community has no standard way to encode
| <tag key='value'>content</tag>
+---------------

True, we do have multiple approaches, but only a fairly small
number, each one having arisen according to a particular need
not entirely solved by the others:

    ((tag key "value") "content")	; The classic first attempt.
    ((:tag :key "value") "content")	; Avoids some naming conflicts.
    (:tag (:key "value") "content")	; Can be easier for humans to read.
    (:tag :key "value" "content")	; Ditto, but needs a NIL before
					; content iff content starts with
					; a naked keyword.
    <tag :key "value" | content>	; [TML] Avoids string quotes and
					; appeases parenthephobes.


-Rob

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