Re: Suggestions?
Re: Suggestions?
- Subject: Re: Suggestions?
- From: "R. Tony Goold" <email@hidden>
- Date: Wed, 1 Aug 2001 10:50:27 -0400
Actually, there's yacc/lex (actually, bison/flex) in OS X. That's -- at
least in my experience -- ways better than Perl or anything other I've
ever
tried. The only shortcoming is that the yacc/lex cannot handle Unicode
well,
but that's not a problem for HTML.
Except an LR parser probably isn't the best for parsing SGML. I would look
at Core Foundation's XML Services for parsing the structure of an HTML
document.
Of course if you're just looking for links, that's easy to accomplish with
NSString's methods without resorting to special parsers at all!
Cheers,
Tony