Commit Graph

76 Commits

Author SHA1 Message Date
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
14d2418d2c Fix prefix filter 2024-09-10 09:30:54 -06:00
87c54ca12b Upgrade github.com/shoenig/test to v1.11.0 2024-09-10 08:54:29 -06:00
6852c803c4 Removed pointless hasPrefix in favor of point-free 2024-09-09 15:19:00 -06:00
4d3f576a67 Added curry for nerdy point-freedom 2024-09-09 15:18:27 -06:00
2759894ed8 Factored out Slice failure assertions 2024-09-09 15:13:37 -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
c92ffde044 Added Cursor.At test 2024-09-08 09:17:29 -06:00
a2e9d2cc8d Removed StringCursor because strings.Reader is a ReaderAt 2024-09-03 16:13:21 -06:00
cfeaaa27e3 Implemented (but not tested) cursor.RuneReader 2024-09-03 16:10:27 -06:00
9b15090171 Added vscode config and test logs to .gitignore 2024-09-03 13:57:43 -06:00
49bfcb7462 Added cursor tests 2024-09-03 13:55:32 -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
3e524a5a5b Fix inspiration URL and formatting 2024-09-02 11:11:00 -06:00
a00aea29f4 Rename SpotReader, remove cruft, and move helpers 2024-09-02 11:04:00 -06:00
4be0e425ba Added sketch and notes on reader design 2024-08-31 15:13:27 -06:00
2041afdb94 Fixed typo 2024-08-31 15:11:56 -06:00
b4221addd8 Write down inspiration so I can close my browser tabs 2024-08-31 11:43:09 -06:00