[SDL] XML Parser

Phuoc Can Hua phuoccanhua at yahoo.com.au
Tue Apr 14 17:49:36 PDT 2009


Of course,  you can use yacc/bison to write an XML parser. But at the end you still have to write (define) it. yacc/bison is more useful for complex language where you can define operators, instructions, calculation precedences, function calls.
 
Phuoc
 
_/\__/\__/\__/\__/\__/\_ www.huaonline.com My Homepage is my Castle

--- On Wed, 15/4/09, Peter Ross <pross at xvid.org> wrote:


From: Peter Ross <pross at xvid.org>
Subject: Re: [SDL] XML Parser
To: "A list for developers using the SDL library. (includes SDL-announce)" <sdl at lists.libsdl.org>
Received: Wednesday, 15 April, 2009, 7:49 AM


-----Inline Attachment Follows-----


On Tue, Apr 14, 2009 at 08:26:10PM +0800, KHMan wrote:
> casey dunham wrote:
>> Thanks for the info on the C based XML parsers. Expat I already knew  
>> about but haven't heard of the other ones. I have also used irrXML  
>> (http://www.ambiera.com/irrxml/) from the irrlicht engine before but  
>> that is C++ based.
>>
>> I was thinking of a native SDL library for XML parsing. I wanted to  
>> gauge how useful people think it would be or if the consensus would be  
>> to use one of the ones that is already out there.
>
> How is it possible to have a "native SDL library for XML parsing"? Why is 
> it native to SDL? Wouldn't an XML parser be an XML parser? In what way is 
> it 'tied' to SDL?
>
> That said, I think the universe does not need yet another XML parser. We 
> should be doing more productive things, heh. :-)

For give me for sounding naive, but why do we need XML 'parsers' anyway?
What ever happened to using lex/flex and yacc/bison to parse content?

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

-----Inline Attachment Follows-----


_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



      Enjoy a safer web experience. Upgrade to the new Internet Explorer 8 optimised for Yahoo!7. Get it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090414/8a0779fe/attachment.htm>


More information about the SDL mailing list