有没有比这更简单的解析单行注释的方法?comment ^ '//' asParser , (#any asParser starLazy: (#newline asParser)) , #newline asParser ==...
我正在寻找除了PPArithmeticParser和PPLambdaParser以外的PetitParser使用示例,它们提供在测试包和Lukas的一些博客文章中。如果有人愿意分享他们的示例,将不胜感激。 更新:https://github.com/NicolasPetton/jtalk/b...
我想解析 'This,is,an,example,text' 就像在findTokens中一样 'This,is,an,example,text' findTokens: $, an OrderedCollection('This' 'is' 'an' 'example' 'text...