This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

XML Tools

7 posts · 1986 views

If I wanted to write a Markup language interpreter in Common Lisp, what tools would I need?
Don't take the FUN out of DEFUN !

Re: XML Tools

What exactly is a "Markup language interpreter"? You can see a list of XML tools on Cliki. I believe the best parser is CXML and it's extensions.

Re: XML Tools

Thank you.
Don't take the FUN out of DEFUN !

Re: XML Tools

Is there a good online tutorial explaining the basics of writing an interpreter for an XML-Based language (writing an XML parser(?)) ? :?:
Don't take the FUN out of DEFUN !

Re: XML Tools

XML is surprisingly complicated. You don't want to undertake writing a new parser without good reason. The "lightweight" parsers (e.g. stuff like tinyxml or rapidxml) don't support large subsets of the spec (e.g. entities and validation).

Here's a fairly good intro.
http://www.w3schools.com/xml/default.asp

Re: XML Tools

So do you think writing an AIML parser will be quite difficult?
Don't take the FUN out of DEFUN !

Re: XML Tools

Indecipherable wrote:So do you think writing an AIML parser will be quite difficult?
Not really if you use CXML or CL-XML. With CXML you are advised to use KLACKS which is a SAX-like parser.

--
Marco
Marco Antoniotti