Release 10.6
-
(configurable)
StackOverflowErrorprotection against deeply nested recursive structure. Makes dot-parse the safest Java recursive descent parser. -
extensive benchmarks stacking dot-parse against major Java, Scala and Kotlin parser frameworks.
-
digits(n),hexDigits(n)parsers. Easier to express regex-like composite patterns like:Parser<String> usPhoneNumber = sequence(digits(3), one('-'), digits(3), one('-), digits(4)).source(); -
Parser.mapWithIndex()makes the source index usable by the grammar. -
Parser.OrEmpty.source()andParser.OrEmpty.map()makes optional parsers more convenient. -
bug fixes.