~kb/pars

16bf2c90 — Kim Burgess 3 years ago main
chore: bump version
6c6606af — Kim Burgess 3 years ago
docs: fix outdated behaviour in README examples
4f5969cd — Kim Burgess 3 years ago
docs: add example to README
e8c1d9df — Kim Burgess 3 years ago
refactor: return tuple from A & B
726fc74c — Kim Burgess 3 years ago
feat: `&+` operator

Add supports for `+` for Array based sequencing and `&+` for sequencing
Parsers as a tuple. This provides better compatability with complex
parsing as the type system tops out at Tuples of size 300.

Additionally this is intended to provide a more uniform API for when
composing parsers so that repitition and sequencing both output results
as an Array.
e98946d9 — Kim Burgess 3 years ago
feat: neater printing of ParseContext
23ed7060 — Kim Burgess 3 years ago
fix: union types for Parser#|

The compiler (0.35.1) does not seem to be capable of detecting the
correct method invocation when overloaded. This combines both the
efficient (same type) combination, with the alt path of re-wrapping with
the union ParseResult via macros in a single method.
d2316ab8 — Kim Burgess 3 years ago
test: check concrete type
f90efbfe — Kim Burgess 3 years ago
fix: types for |(self)
290bfb79 — Kim Burgess 3 years ago
docs: clearer language in README
9bd76213 — Kim Burgess 3 years ago
docs: fix incorrect heading depth in README
881092b1 — Kim Burgess 3 years ago
docs: improve intro in README
53a3435c — Kim Burgess 3 years ago
feat: provide human readable ParseContext
246936ab — Kim Burgess 3 years ago
fix: issue with type resolution with xor
4336db5c — Kim Burgess 3 years ago
docs: fix `Parse.do` macro example
2521e376 — Kim Burgess 3 years ago
docs: fix typo in README
d58a2041 — Kim Burgess 3 years ago
chore: bump shard version
8cf0acb6 — Kim Burgess 3 years ago
chore: github actions for specs
6ea6fb4c — Kim Burgess 3 years ago
style: reformat with crystal formatter
7111a470 — Kim Burgess 3 years ago
docs: fix typos and improve language in README
Next