Releases: google/mug
Releases · google/mug
Release 10.5
- dot-parse performance optimization (return elision)
Parser.anyOf(str1, str2, ...)Parser.optionallyFollowedBy(Parser<?> suffix)
Release 10.4.3
- Major dot-parse and
EmailAddressperformance improvements. - More friendly error messages by
Parser.
Release 10.3.1
- Property treatment of RFC 2047 encoded words in
EmailAddress. EmailAddress.unicodeDisplayName()to decode RFC 2047 display name.
Release 10.3
Parser.nestedBy()for balanced nested quoting.EmailAddresshardened for security and new methods:user(),alias(),hasI18nDomain().MarkdownLink- a light-weight markdown link parser.GraphWalkerbug fixes.
Release 10.2
Parser.consecutive("[a-zA-Z0-9-]")and friends.MoreStreams.mergeConsecutive(Stream, Class<T>, BinaryOperator<T>)
Release 10.1.1
Fixed Parser.first() to respect skipping.
Release 10.1
- Fixed
Parser.literally(p)semantics. It should be an "atomic" operator. - Added
Parser.sequence(Parser, Production...)as a shorthand ofp1.then(p2).then(p3).then(p4)when they are meant to be matched as a single unit.
Release 10.0.1
Bug fixes for Parser.sequence(OrEmpty, Parser, BiFunction).
Release 10.0
- Dot-parse adds left recursion detection at parser definition time.
- Dot-parse allows optional rules as the first rule in a
sequence(). - Dot-parse allows returning optional rule in
flatMap(). - Bug fixes of EP checks (avoid crashes when javac
-g:noneis used)
Release 9.9.9
- Performance boost dot-parse for many grammar rules sharing common prefix.
Parser.anyOf(EnumType.values())for easier parsing operators.parser.withPostfixes(",", AbcNote::down)Parser.one(CharacterSet)Parser.zeroOrMore(CharacterSet).