Anton-4
59ab438c1e
misc improvements
2024-03-26 16:38:09 +01:00
Trevor Settles
ef68183a92
switched error then succeess cases
2024-03-24 20:13:58 -06:00
Trevor Settles
ab744a883a
combined examples and increased consistency
2024-03-24 15:13:31 -06:00
Trevor Settles
aa3a7c2ab0
combined error and sucdcess examples
2024-03-24 11:03:12 -06:00
Trevor Settles
fedc0f5dfb
removed and linted unused example imports
2024-03-19 20:47:44 -06:00
Trevor Settles
5660de93e0
removed one_of_with_error
2024-03-16 15:02:09 -06:00
Trevor Settles
fd8c13010a
added links in docs
2024-03-14 15:32:04 -06:00
Trevor Settles
c4172be7ce
fixed type parser -> parsers
2024-03-14 11:35:59 -06:00
Trevor Settles
bf96a59bbc
example and docs for backtrackable
2024-03-14 11:26:23 -06:00
Trevor Settles
3ebaa592f6
function versions for loc
and map_with_arena
macros
2024-03-14 11:19:18 -06:00
Trevor Settles
8ae0d99707
example for between
2024-03-14 11:10:28 -06:00
Trevor Settles
805ca70f75
example and docs for either
2024-03-13 22:10:35 -06:00
Trevor Settles
5714db6528
example and docs for debug
2024-03-13 21:58:45 -06:00
Trevor Settles
956bfdfde0
aero_or_more and one_or_more
2024-03-13 21:21:51 -06:00
Trevor Settles
2fc7b939da
example and docs for map
2024-03-13 14:04:20 -06:00
Trevor Settles
6db6629417
examples and docs for word2 and word3
2024-03-12 21:18:30 -06:00
Trevor Settles
b6d5425f6e
examples and docs for word1_indent
2024-03-12 20:42:35 -06:00
Trevor Settles
7884d92e29
example and docs for word1
2024-03-12 20:11:17 -06:00
Trevor Settles
47b537c278
added example for one_of_with_error
2024-03-12 15:43:08 -06:00
Trevor Settles
b146030fff
docs and examples for one_of
2024-03-12 15:03:14 -06:00
Trevor Settles
09dbc93b7d
docs and example for and
2024-03-10 21:38:17 -06:00
Trevor Settles
bf40247aec
example and docs for fail
2024-03-10 15:06:52 -06:00
Trevor Settles
4e33a6c4b3
fail_when example and docs
2024-03-09 21:25:57 -07:00
Trevor Settles
3770b72530
example for succeed
2024-03-09 19:22:54 -07:00
Trevor Settles
c582ad6767
example for skip_second
2024-03-09 18:46:52 -07:00
Trevor Settles
eed1957180
skip_first example
2024-03-09 18:42:33 -07:00
Trevor Settles
cad29623f9
loc macro example
2024-03-08 22:37:59 -07:00
Trevor Settles
9c67ae15be
example for optional
2024-03-08 22:04:27 -07:00
Trevor Settles
f3666b346b
example for keyword_e
2024-03-05 18:51:28 -07:00
Trevor Settles
997222a1ce
removed imports and example for then
2024-03-04 23:14:48 -07:00
Trevor Settles
62e6e34470
examples for allocated
2024-03-03 21:55:59 -07:00
Trevor Settles
3cb0edf958
added and_then docs
2024-03-03 12:34:56 -07:00
Trevor Settles
3f2d2dd908
added and examples
2024-03-03 11:50:24 -07:00
Trevor Settles
58c654a092
removed erroneus wrapping function
2024-03-03 11:32:18 -07:00
Trevor Settles
b7181af8f3
better formatting for word docs
2024-03-03 11:15:09 -07:00
Trevor Settles
ff19d1b834
pass and fail examples
2024-03-03 11:02:02 -07:00
Folkert
e6a154765c
silence some redundant closure call warnings caused by macros
2023-10-07 19:11:36 +02:00
Anton-4
f0795e6935
minor improvements
2023-09-15 19:51:13 +02:00
Anton-4
954f687666
minor fixes
2023-08-11 16:14:33 +02:00
Bryce Miller
2f5695e59d
use word
instead of word10
2023-05-22 22:29:32 -04:00
Bryce Miller
0f289ed712
add word10 fn
2023-05-19 21:13:33 -04:00
Agustin Zubiaga
f94004d137
Parse builders without backtracking from records
2023-05-13 20:05:42 -03:00
Agustin Zubiaga
735721769c
Record Builder parsing
2023-05-05 23:26:20 -03:00
Brendan Hansknecht
99547086ee
add very rough framework of how the parse might need to change
2023-04-09 14:03:31 -07:00
Joshua Warner
5a6be05ead
implement mono / lowering for tuples
2023-02-07 18:54:50 -08:00
Joshua Warner
0b8e68f70d
Fix approximately a bajillion fmt and parsing bugs
...
(discovered by fuzzing)
There's more to come, but this seems like a good batch for now.
2023-01-13 18:20:44 -08:00
Joshua Warner
94070e8ba6
Improve parsing of scalar literals
...
* Unify parsing of string literals and scalar literals, to (e.g.) ensure escapes are handled uniformly. Notably, this makes unicode escapes valid in scalar literals.
* Add a variety of custom error messages about specific failure cases of parsing string/scalar literals. For example, if we're expecting a string (e.g. a package name in the header) and the user tried using single quotes, give a clear message about that.
* Fix formatting of unicode escapes (they previously used {}, now correctly use () to match roc strings)
2023-01-07 15:12:52 -08:00
Joshua Warner
07ebc81cba
Be more lenient with indentation in record parsing
...
... and extract a shared helper with collection_trailing_sep_e, thereby resolving some inconsistencies with normal collection parsing.
... and delete some dead code while I'm at it
2023-01-02 18:53:15 -08:00
Joshua Warner
0da50a612d
Be more lenient with required indentation in collections
...
... and also remove a bunch of now-dead errors that can't be triggered.
2023-01-01 17:49:51 -08:00
Folkert
8305d078a0
add as
for list rest patterns
2022-12-30 23:17:29 +01:00