红联Linux门户
Linux帮助

XML解析器生成工具 XCC

发布时间:2012-12-26 09:12:54来源:红联作者:empast
XCC 是一个用来生成 C 语言的XML解析器的工具

One way to describe what XCC does is by analogy with a generic parser generator, e.g. yacc or bison. Yacc needs a lexical analyzer to function properly, and that lexical analyzer is usually built with (f)lex. In the XML world, there are a few packages which fill in the role of lex (expat and libxml are the most known), but the high-level grammar parsing is usually done by a hand-written code; writing such a parser is a tedious and error-prone task. XCC was created to help developers in writing reliable easy-to-understood parsers for handling complex XML-based grammars.

下载地址:ftp://plasma-gate.weizmann.ac.il/pub/xcc/

来自:开源中国社区
文章评论

共有 0 条评论