Commit Graph

200 Commits

Author SHA1 Message Date
Florian Schroedl
a64d9d7d9a Simplify 2022-08-26 19:34:55 +02:00
Florian Schroedl
4e7c855995 Unify function naming 2022-08-26 19:08:43 +02:00
Florian Schroedl
eb980259cb Add options to pass arguments to initialiser 2022-08-26 19:06:55 +02:00
Florian Schroedl
ddac47dbaa Add options to pass arguments to initialiser 2022-08-26 19:05:21 +02:00
Florian Schroedl
7d2c45786f Remove builder from parser type 2022-08-26 18:55:51 +02:00
Florian Schroedl
ef2fbb9a16 Rename internal to api 2022-08-26 18:54:52 +02:00
Florian Schroedl
ffb2a08055 Add plus function 2022-08-26 18:47:32 +02:00
Florian Schroedl
23b05f2366 Add following function 2022-08-26 18:46:48 +02:00
Florian Schroedl
0a3812c83d Add implementation test 2022-08-26 18:45:49 +02:00
Florian Schroedl
b70c2f3519 Add character set helpers 2022-08-26 18:45:31 +02:00
Florian Schroedl
178aeec565 Rename newline and whitespace parsers as they include end of stream 2022-08-26 18:37:01 +02:00
Florian Schroedl
570ffeb100 Use between function to construct anyBetween 2022-08-26 18:19:20 +02:00
Florian Schroedl
214288c1c3 Rename to anyBetween & add tests 2022-08-26 17:56:54 +02:00
Florian Schroedl
c3389abb59 Add endOfStream overflow, move to parserFns, add test 2022-08-26 17:36:43 +02:00
Florian Schroedl
93aba40e00 Turn "parseSeq" into api function "following", add test 2022-08-26 17:26:27 +02:00
Florian Schroedl
447a3dcefc Add plus tests 2022-08-26 17:19:10 +02:00
Florian Schroedl
a9ce7f2963 Test choice 2022-08-26 17:09:42 +02:00
Florian Schroedl
2ee602c0b3 Comment 2022-08-26 16:56:47 +02:00
Florian Schroedl
507c05592e Add manyUntil test 2022-08-26 16:53:04 +02:00
Florian Schroedl
b11bbc5058 Add failing string tests 2022-08-26 16:50:18 +02:00
Florian Schroedl
fd0382f3a0 Break string for loop when the parser is erroring 2022-08-26 16:49:57 +02:00
Florian Schroedl
9cdcef6d71 Add type 2022-08-26 16:46:49 +02:00
Florian Schroedl
1a4f665639 Docs 2022-08-26 16:45:07 +02:00
Florian Schroedl
e6fff0165e Rename to match rest 2022-08-26 16:45:00 +02:00
Florian Schroedl
d873288680 Remove unneeded manyUntilPerformant 2022-08-26 16:42:25 +02:00
Florian Schroedl
26f8baacfb Add ignore tests 2022-08-26 16:42:05 +02:00
Florian Schroedl
f60ddaf19d Document & Test optional 2022-08-26 16:39:20 +02:00
Florian Schroedl
3bbf6834c3 Commentary 2022-08-26 16:37:05 +02:00
Florian Schroedl
80c911e41f Add digit helper 2022-08-26 16:31:00 +02:00
Florian Schroedl
018e28bc84 Add str test 2022-08-26 16:28:52 +02:00
Florian Schroedl
405bc8ecc3 Add str test 2022-08-26 16:28:27 +02:00
Florian Schroedl
1cbb52f4c4 Fix rename 2022-08-26 16:26:51 +02:00
Florian Schroedl
5f077eb1e0 Remove unneeded lookBack function 2022-08-26 16:26:05 +02:00
Florian Schroedl
48802f0c8d Add isStreamCompleted function 2022-08-26 16:25:40 +02:00
Florian Schroedl
ccd1e612ae Add anyCh test 2022-08-26 16:23:43 +02:00
Florian Schroedl
ceddd4abb9 Use result from fp lib 2022-08-26 16:20:36 +02:00
Florian Schroedl
1f4bd5d60e Add test for chars 2022-08-26 16:08:26 +02:00
Florian Schroedl
e5bf85a551 Add unit test for ch 2022-08-19 16:23:31 +02:00
Florian Schroedl
b8ab82f95c Use proc, fn and const dont work 2022-08-19 16:10:42 +02:00
Florian Schroedl
f154a6c9ec Cleanup: Remove unneeded template 2022-08-09 22:15:20 +02:00
Florian Schroedl
56d1b625ee Failed try due to type mismatch of parser internals 2022-08-09 22:12:57 +02:00
Florian Schroedl
892eec10d5 Started refactor 2022-08-09 22:12:50 +02:00
Florian Schroedl
9b0ad40f55 More readable but not perfect parser token pprint 2022-08-09 18:09:13 +02:00
Florian Schroedl
e0722edb57 Start parse 2022-08-09 17:57:41 +02:00
Florian Schroedl
99b587813d Remove debug echos 2022-06-18 12:21:09 +02:00
Florian Schroedl
788c2b4d2d Commentary 2022-06-18 12:20:21 +02:00
Florian Schroedl
dd84dc5d6e Fix newline only lines 2022-06-18 12:18:57 +02:00
Florian Schroedl
1558349999 Fix newline finding 2022-06-18 12:14:22 +02:00
Florian Schroedl
8ede62cc17 Multiline string fixes 2022-06-18 12:04:52 +02:00
Florian Schroedl
748a9763f2 Add new stream highlighting function 2022-06-18 11:27:45 +02:00