Commit Graph

36 Commits

Author SHA1 Message Date
776b513c44 Return correct next state from Read 2024-09-27 09:39:20 -06:00
82ade62274 Combine Cursor with State 2024-09-27 09:29:27 -06:00
9375b51a70 Renamed Result.Succeeded to Status and removed Failed 2024-09-24 13:16:30 -06:00
f8bc7582a5 Simplified Result 2024-09-24 12:56:10 -06:00
9cab6d266d Added Repeat and listed necessary tests 2024-09-24 12:31:38 -06:00
51f3532d64 Fix Message method names 2024-09-19 22:44:51 -06:00
1436be3c10 Unlicens the code and add SPDX identifier to files 2024-09-18 16:28:53 -06:00
be245b258c Added Run convenience function 2024-09-18 13:01:44 -06:00
4455c34735 Allow expected in MessageEnd 2024-09-17 21:37:07 -06:00
edff0f8ca0 Added Pipe and Match parsers 2024-09-17 20:10:19 -06:00
4fa3c2a466 Added documentation for most core parsers 2024-09-17 11:42:43 -06:00
f0c10152d0 Generate Seq 2024-09-13 20:48:33 -06:00
3e8b0e663c Generate Bind 2024-09-13 18:28:38 -06:00
8e7a9760c6 Make Label a method on Parser 2024-09-13 11:35:13 -06:00
7c7d0fef9b Result is failed by default 2024-09-13 10:44:30 -06:00
b040fd21c3 Hide Message fields 2024-09-11 15:28:56 -06:00
065bb70138 Return End parser from a function for better doc generation 2024-09-11 11:46:47 -06:00
1d970026b3 Get rid of the old name 'reply' 2024-09-11 11:44:40 -06:00
ef26d9496f Fix doc comment typo 2024-09-11 11:43:19 -06:00
bb1e77e8cd Hide all Result fields 2024-09-11 11:09:16 -06:00
570d7e32fc Remove commented code 2024-09-11 10:27:43 -06:00
d0460e71e3 Separate parsing status from actual errors 2024-09-11 10:25:45 -06:00
c1eae9fa34 Added End parser 2024-09-10 19:00:44 -06:00
96d178efef Implement most of Regexp parser 2024-09-10 16:46:31 -06:00
a7495bde87 Added Label combinator 2024-09-10 15:56:09 -06:00
adc85b5572 Rewrite Map in terms of Bind and Return 2024-09-10 14:38:18 -06:00
8943da5aee Check that Slice has correct position after matching 2024-09-09 15:00:17 -06:00
f75904ca93 Added Map combinator 2024-09-09 10:33:46 -06:00
ef74691415 Wrote some Slice tests 2024-09-09 10:27:54 -06:00
727426d704 Added Slice parser 2024-09-08 12:09:20 -06:00
b06454a4bc Get rid of binary Choose 2024-09-02 21:20:13 -06:00
183e4db928 Propagate errors through Choose 2024-09-02 21:14:46 -06:00
b3b90b7e6b Return error messages from Return and Satisfy 2024-09-02 15:31:08 -06:00
0a1fe0821a Now I understand how Try works 2024-09-02 12:48:48 -06:00
ffe949b97b Write a few core parsers from the Parsec paper 2024-09-02 11:34:26 -06:00
a00aea29f4 Rename SpotReader, remove cruft, and move helpers 2024-09-02 11:04:00 -06:00