Releases: inhabitedtype/angstrom
Releases · inhabitedtype/angstrom
v0.14.1
- Fix bug in
consumed
(and consumed_bigstring
) when its argument contained a commit
(#199)
v0.14.0
Breaking Changes
count
fails if its argument is negative, rather than raising. (#192)
parse_string
and parse_bigstring
take a required consume
argument, specifying whether the parse is expected to consume a prefix of the input, or the entire input. The previous behavior was Prefix
. (#196)
Features and Enhancements
- improve the failure message of
satisfy
(#185)
- add
consumed
and consumed_bigstring
combinators, which take a parser t
and returns a parser that produces the range of input that t
consumed. (#163)
- make
pos
and available
part of the public API as expert, undocumented parsers. (#195)
v0.13.0
- Implement "trampolining" for the
fix
combinator when running in js_of_ocaml (#187, @hhugo)
- Validate that the input is positive for
take
-like combinators (#190)
v0.12.0
Bugfixes
- Fix bug in
Input.take_while
(#181)
New Features and Enhancements
v0.11.2
- Add bounds checking to
advance
(#166)
v0.11.1
- Port to dune (#161)
- Fix typo in
state_to_option
docstring (#164)
v0.11.0
Features
- Implement
with_buffered_parse_state
for the lwt package, which in conjunction with parse
allows one to continue parsing unconsumed input. (#156)
Improvements