我正在寻找在PPArithmeticParser和PPLambdaParser之外使用PetitParser的其他示例,这些示例在测试包和Lukas的几篇博客文章中提供?如果有人愿意分享他们的,我将不胜感激。
更新:https://github.com/NicolasPetton/jtalk/blob/master/st/parser.st
更新:https://github.com/dmatveev/waste/blob/master/wastex.st
让他们继续前进!
发布于 2011-04-19 00:24:53
看看官方的PetitParser code repository,有很多语法可以下载:
的替代品
此外,您还可以在SqueakSource上找到各种PetitParser语法。只需搜索关键字'PetitParser‘,您就会找到或多或少完整的语法,包括Java、JavaScript、Ada、SQL和其他一些。
发布于 2012-09-04 17:45:12
在PetitParsers Google+ site上有很多很好的小例子。
https://stackoverflow.com/questions/5703309
复制相似问题