Re: XML vs LISP

From: sunirse2000@mediaone.net
Date: Mon Jun 11 2001 - 08:52:16 MDT


> > Does anybody know what the difference is between XML and LISP?
> >
>
> This is a joke, right?
>
> Just in case it isn't, I'll answer the question: LISP is a programming
> language, XML is a data formatting standard.

I ought to rephrase my question:

Does anybody know what the difference is between XML and LISP >lists<?

<sentance><subject>I</subject><predicate>
<simplepredicate>have</><predicateobject>
<modifier><mod>a</><adjective><adj>hard</></adjective></modifier>
<modifier><gerundphrase><gerund>seeing</><object>it</></gerundphrase></modifier>
time
</predicateobject>
</predicate></sentance>

(SENTANCE
  (SUBJECT I)
  (PREDICATE
    (SIMPLEPREDICATE have)
    (PREDICATEOBJECT
      (MODIFIER
        (MOD a)
        (ADJECTIVE (ADJ hard)))
      )
      time
      (MODIFIER
        (GERUNDPHRASE
          (GERUND seeing)
          (OBJECT it)
        )
      )
    )
)



This archive was generated by hypermail 2.1.5 : Wed Jul 17 2013 - 04:00:36 MDT