3.8.0 (2023-09-17)
3.7.0 (2023-08-22)
3.6.5 (2023-08-17)
- deferred parsers should throw if not initialized (b244cda)
- keeping core exports for now (8c2849d)
3.6.4 (2023-07-03)
3.6.3 (2023-06-04)
3.6.2 (2023-03-14)
- package: re-order
exports
fields for proper resolution in some setups (b7cb115)
3.6.1 (2023-02-21)
3.6.0 (2023-01-17)
- combinators/error: return correct
pos
(c11002c)
- add spans (88b13b1)
3.5.0 (2023-01-16)
- combinators/attempt: add
attempt
combinator (7133746)
3.4.0 (2023-01-16)
- parsers/string: correctly determine pos without getting out of bounds (9927128)
- combinators/lookahead: add
lookahead
combinator (497c7a8)
3.3.0 (2023-01-15)
3.2.0 (2023-01-15)
3.1.4 (2023-01-14)
- types: fix toUnion signature to correctly infer type (4dca5e0)
3.1.3 (2023-01-05)
3.1.2 (2023-01-05)
- combinators/many: fix an edge case when combined with
noneOf
(4630bf4)
3.1.1 (2022-10-25)
- vitest: fix coverage collection (91a1f9b)
3.1.0 (2022-10-08)
- scripts: move tsm back (cf899d0)
- build: finalize tsup setup with multiple options for build (d9a54a8)
- build: introduce tsup, simplify build, make package a module (e803455)
- chore: cleanup packages and files (6cd7146)
- vitest: add vitest, aliasing, cleanup uvu deps (a4883a3)
3.0.0 (2022-10-02)
- change the output type from to
number
for number parsers (24406ab)
- The output type of number parsers has changed from
string
tonumber
, i.e. these parsers now have the type ofParser<number>
instead ofParser<string>
.
2.10.0 (2022-07-29)
- number parsers (c22af49)
2.9.0 (2022-07-12)
- tsdoc: add tsdocs for parsers (c78d57a)
- tsdoc: add tsdocs to combinators (5220e26)
- tsdoc: final touches (3233440)
2.8.0 (2022-07-12)
- *combinators/Until: add
takeUntil
andskipUntil
combinators (003f82d)
2.7.0 (2022-07-04)
- parsers/noneOf: add
noneOf
parser (d6bc81c)
2.6.0 (2022-07-04)
- parsers/oneOf: add
oneOf
parser (6d6c2a6)
2.5.0 (2022-07-04)
- parsers/any: add
any
parser (bfb9620)
2.4.0 (2022-07-02)
- combinators/sepBy1: add
sepBy1
combinator (52b7ddf)
2.3.1 (2022-06-01)
- combinators/many1: fix
many1
behavior (169bf2e)
2.3.0 (2022-06-01)
- combinators/when: add context-aware
when
combinator (1537b51)
2.2.0 (2022-05-31)
- bench: add latest sigma for benchmarks (f48e132)
2.1.3 (2022-05-31)
- combinators/choice: get rid of non-null assertion and refactor a bit (2f0a9f9)
- combinators/sepBy: remove unreachable
return
(7b3a9d0) - parsers/float: do not return
input
(bd92d3d)
2.1.2 (2022-05-31)
- combinators/sepBy: fix behavior & improve perf (f709a30)
2.1.1 (2022-05-14)
- README: update README (3e0a3f2)
2.1.0 (2022-05-14)
- combinators/many1: add
many1
combinator (5342135)
- no-release: refactor benchmarks & add another bench (11d42b4)
2.0.2 (2022-05-14)
- change
error
back toexpected
(d1ba6c3)
2.0.1 (2022-05-13)
- improve performance by simplifying values passed around (505dad8)
- no-release: add benchmarks (fd39bb1)
2.0.0 (2022-01-23)
- Lifted contents of the
internal
directory since the library itself gets bundled anyway. - Removed all aliases for parsers and combinators.
- Removed
whitespaceOptional
parser. Its functionality can be replicated withoptional(whitespace())
. - Removed
lazy
parser.defer
is superior to it at almost every aspect. - Renamed the following parsers:
newline
->eol
integer
->int
integerUnsigned
->uint
uniString
->ustring
- Renamed the following combinators:
list
->sepBy
1.4.2 (2022-01-12)
- combinators/choice: get rid of manual overloads (ace89ea)
- combinators/sequence: get rid of manual overloads (d81a7b6)
1.4.1 (2022-01-02)
- mark package as side-effect-free (e2f7327)
1.4.0 (2021-12-02)
- combinators/take: add
takeSides
combinator (7bd2eb1)
1.3.0 (2021-11-28)
- parsers/float: fix regexps, options & tests (78fa9af)
- parsers/integer: fix regexp (c689144)
- parsers/integer: fix regexps, options & tests (2421d6d)
- parsers/eof: add
eof
parser (d88a3f2) - parsers/float: add
float
parser (f993009) - parsers/integer: add
integer
parser (f206d49) - parsers/letter: add
letter
andletters
parsers (2540b17) - parsers/newline: add
newline
parser (ae8d6ec) - parsers/rest: add
rest
parser (1c4c745) - parsers/whitespace: add
whitespace
&whitespaceOptional
parsers (821680a)
1.2.0 (2021-11-17)
1.1.1 (2021-11-15)
- readme: add
installation
andexample
sections (e80cae3)