Go to content

ScalaIO - Mathias Doenitz - Parboiled2: better parsing in Scala

parboiled2 is a Scala lib for fast and elegant parsing of arbitrary input text. It implements a macro-based parser generator offering these main benefits over Scala parser combinators: Several hundred (!) times higher parsing speed More concise/flexible/powerful DSL Significantly better error reporting In this talk I'll show you how easy it is to write real-world parsers with pb2, compare them to alternatives and also take a peek under the hood to see how Scala macros and type-level programming can be combined to implement very powerful and yet fully type-safe & fast internal DSLs.

October 23, 2014