XCCXML解析器生成工具

联合创作 · 2023-09-29 23:24

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.

浏览 8
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报