Styx- 语法解析器生成器

C/C++ 语法解析工具

详细介绍

Styx 是一个语法扫描器和解析器的生成器,主要为了解决传统的 lex/yacc
的一个不足。

It has unique features like automatic derivation of depth grammar, production
of the derivation tree including it’s C interface which provides access to the
abstract syntax tree, preservation of full source information and pretty
printing to facilitate source-source translation, persistence to aid rapid
interpreter writing.

推荐源码