On 2/21/07, David Chisnall <[EMAIL PROTECTED]> wrote:
On 21 Feb 2007, at 23:46, Yen-Ju Chen wrote:

> On 2/11/07, David Chisnall <[EMAIL PROTECTED]> wrote:
>> On 11 Feb 2007, at 21:05, Yen-Ju Chen wrote:
>>
>> Aha!  Yes, it does seem like it would be useful.  My XML parser code
>> is quite ugly in places (lots of C preprocessor stuff), so it would
>> be nice to be able to replace all of that with something simpler to
>> maintain.  I shall have a play with Ragel at some point.
>
>  I quickly port part of  hpricot to Objective-C.
>  it is under svn etoile/branches/yjchen/hpricot_scan/
>  After compilation, it can read and split out html syntax.
>  I just finished it and haven't test it throughly.
>  Maybe it will help you to start with.

Thanks.  I'll take a look.  I played with Ragel and wrote an almost-
XML parser.  It still had problems with those stupid <[[CDATA[ things
though.

 It basically spit out CDATA as a whole.
 By the way, it would be nice to have some unit tests for the parser.
 It will make debug easier.

 Yen-Ju




_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to