Re: [cc65] XML Parser

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2007-02-04 10:21:41
Hello Payton,

* On Sat, Feb 03, 2007 at 09:49:34PM -0600 Payton Byrd wrote:

> Has anyone seen an XML parser written for CC65 yet?  If not, does
> anyone know of a small open source XML parser written in C?  I've
> found a couple written in C++ (TinyXml, for example) but none that
> looked like they would be good for CC65 usage.

Note, however, that from a computer science point of view, neither DOM
nor SAX are parsers. Both DOM and SAX make your program being controlled
by the "parser". For a real parser, this is not true. I think in the XML
world, a "real" parser is sometimes referred to as "pull parser".

A quick google search showed me some pull parsers. I have not had a
deeper look in them, so I don't know if they can be used on CC65.
Anyway, I expect them to have less resource requirements than SAX or
DOM.

Perhaps, if you tell us what you want to achieve, we can show you that
this goal is better achieved with something different than XML. ;)

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Feb 4 10:22:28 2007

This archive was generated by hypermail 2.1.8 : 2007-02-04 10:22:30 CET