Slide 7
Slide 7 text
Introduction Parsers FastParse Live Demo Syntax Conclusion
Debugging
def number[_:P] = P(CharIn("0-9").rep)
def coords[_:P] = P(number ~ "," ~ number)
parse("10,20", coords(_))
Error without logging
Failure("", 1, Extra(IndexedParserInput("10,20"), 0, ...
Paul Roberts - The Guardian
Building efficient and composable parsers with FastParse