Skip to content

Release 10.6

Choose a tag to compare

@fluentfuture fluentfuture released this 06 Jul 01:08
  • (configurable) StackOverflowError protection 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() and Parser.OrEmpty.map() makes optional parsers more convenient.

  • bug fixes.