nom v1.2.3 Release Notes

Release Date: 2016-05-10 // almost 8 years ago
  • Thanks

    • @lu-zero for the contribution guidelines
    • ๐Ÿ“š @GuillaumeGomez for fixes on length_bytes and some documentation
    • ๐Ÿ“š @Hywan for documentation and test fixes
    • @Xirdus for correct trait import issues
    • @mspiegel for the new AST example
    • @cholcombe973 for adding the cond_with_error! combinator
    • ๐Ÿ”จ @tstorch for refactoring many0!
    • @panicbit for the folding combinators
    • ๐Ÿ›  @evestera for separated_list! fixes
    • @DanielKeep for correcting some enum imports

    โž• Added

    • Regular expression combinators starting with re_bytes_ work on byte slices
    • ๐Ÿ“œ example parsing arithmetic expressions to an AST
    • cond_with_error! works like cond! but will return None if the condition is false, and Some(value) if the underlying parser succeeded
    • fold_many0!, fold_many1! and fold_many_m_n! will take a parser, an initial value and a combining function, and fold over the successful applications of the parser

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ length_bytes! converts the result of its child parser to usize
    • take_till! now imports InputLength instead of assuming it's in scope
    • separated_list! and separated_nonempty_list! will not consume the separator if there's no following successfully parsed value
    • ๐Ÿ— no more warnings on build

    ๐Ÿ”„ Changed

    • simpler implementation of many0!