Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Other exemplars

Posted: 02/08/07 06:15:19

Tim Bray's Lark, which is essentially a finite state machine (since XML has a finite set of transitions). He blogged a little bit of its history and details.

Also there is XOM a dual streaming (like StaX or something) and tree (like DOM) API. Perhaps the design principles are of interest.

Author Message

Posted: 02/09/07 02:44:09

yeah, those design principles are pretty darned solid. I disagree with his point(s) about call-chaining, but the rest is cool :)

Posted: 06/27/07 06:40:41

I know its not XML, but I've really enjoyed the interface to htmlparser for Java. But perhaps its too bloated. Mainly I liked the interface for the filters and visitors.