我创建了一个Scala的解析器组合基于我到前面的问题How to parse a string with filter citeria in scala and use it to filter objects 我想从加计算器解析器组合的回答来过滤数据记录这个问题的答案 Operator Precedence with Scala Parser Combinators 到基于第一个问题创建的解析器
中的内容主要建设虽然成分复杂的解析器,但我想知道是否有通过调整库的组成解析器没有定义解析器什么好办法完全复制了原图书馆的逻辑。 例如,这里是在Real world Haskell import Text.ParserCombinators.Parsec
csvFile = endBy line eol
line = sepBy cell (char ',')
cell = many (no