Page 1 of 1

XML Tools

Posted: Sat Jun 04, 2011 5:27 am
by Indecipherable
If I wanted to write a Markup language interpreter in Common Lisp, what tools would I need?

Re: XML Tools

Posted: Sat Jun 04, 2011 8:39 am
by ramarren
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

Posted: Sat Jun 04, 2011 8:48 am
by Indecipherable
Thank you.

Re: XML Tools

Posted: Sat Jul 02, 2011 7:00 am
by Indecipherable
Is there a good online tutorial explaining the basics of writing an interpreter for an XML-Based language (writing an XML parser(?)) ? :?:

Re: XML Tools

Posted: Sat Jul 02, 2011 11:43 pm
by nuntius
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

Posted: Thu Jul 07, 2011 2:35 am
by Indecipherable
So do you think writing an AIML parser will be quite difficult?

Re: XML Tools

Posted: Thu Jul 07, 2011 2:30 pm
by marcoxa
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