网上有一些关于C#中解析器组合器的文章,但没有可维护的源代码库,因此我创建了一个: http://code.google.com/p/sprache/ 如果您对解析器组合器很了解,可能可以做出很多改进(如果这听起来像您,请站出来:))
我发现了一篇有关在C#中实现解析器组合器的有趣文章an interesting article about implementing a parser combinator in C#。它还引用了一些更普遍的与此主题相关的论文。 The Wikipedia article on the subject也提供了这个概念的一般解释。