XML Tools

Discussion of Common Lisp
Post Reply
Indecipherable
Posts: 47
Joined: Fri Jun 03, 2011 5:30 am
Location: Behind you.
Contact:

XML Tools

Post by Indecipherable » Sat Jun 04, 2011 5:27 am

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 !

ramarren
Posts: 613
Joined: Sun Jun 29, 2008 4:02 am
Location: Warsaw, Poland
Contact:

Re: XML Tools

Post by ramarren » Sat Jun 04, 2011 8:39 am

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.

Indecipherable
Posts: 47
Joined: Fri Jun 03, 2011 5:30 am
Location: Behind you.
Contact:

Re: XML Tools

Post by Indecipherable » Sat Jun 04, 2011 8:48 am

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

Indecipherable
Posts: 47
Joined: Fri Jun 03, 2011 5:30 am
Location: Behind you.
Contact:

Re: XML Tools

Post by Indecipherable » Sat Jul 02, 2011 7:00 am

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 !

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: XML Tools

Post by nuntius » Sat Jul 02, 2011 11:43 pm

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

Indecipherable
Posts: 47
Joined: Fri Jun 03, 2011 5:30 am
Location: Behind you.
Contact:

Re: XML Tools

Post by Indecipherable » Thu Jul 07, 2011 2:35 am

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

marcoxa
Posts: 85
Joined: Thu Aug 14, 2008 6:31 pm

Re: XML Tools

Post by marcoxa » Thu Jul 07, 2011 2:30 pm

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

Post Reply