Re: Future of LISP. Alternative to XML. Web 3.0?
- From: Toby <etatoby@xxxxxxxxx>
- Date: 10 Dec 2006 16:07:54 GMT
Juan R. wrote:
I propose something like
[#p This is [#b bold]]
for
<p>This is <b>bold</b></p>
I like it!
But a few points need to be addressed.
1. Attributes
Attributes are needed, both for compatibility with existing HTML/XML and
for the reasons expressed in the CanonML document. What do you propose?
[#div :id "one" :class "left red" This is the text.]
[#div @id "one" @class "left red" This is the text.]
[#div [@id one] [@class left red] This is the text.]
2. Whitespace
If <b>a</b> becomes [#b a], what about <b> a</b>?
Is [#a a] [#b b] equivalent to <a>a</a><b>b</b> or to <a>a</a> <b>b</b>?
And so on.
3. Namespaces
Intuitive solution?
[#fo:block Hello, world!]
All in all it looks good! Why don't you write it all down in a
semi-formal way and start an open source project to write an
implementation?
The implementation should translate between this representation and XML
(for compatibility) or better to and from SXML, as SXML is actually a
good internal representation of XML for Lisp programs.
Toby
.
- Follow-Ups:
- Re: Future of LISP. Alternative to XML. Web 3.0?
- From: Juan R.
- Re: Future of LISP. Alternative to XML. Web 3.0?
- References:
- Future of LISP. Alternative to XML. Web 3.0?
- From: Juan R.
- Re: Future of LISP. Alternative to XML. Web 3.0?
- From: Robert Maas, see http://tinyurl.com/uh3t
- Re: Future of LISP. Alternative to XML. Web 3.0?
- From: Juan R.
- Future of LISP. Alternative to XML. Web 3.0?
- Prev by Date: Re: 2 cents to Lisp comparisons
- Next by Date: CMUCL 19d released
- Previous by thread: Re: Future of LISP. Alternative to XML. Web 3.0?
- Next by thread: Re: Future of LISP. Alternative to XML. Web 3.0?
- Index(es):
Relevant Pages
|