Commit graph

140 commits

Author SHA1 Message Date
Folkert
4e36d71c2f finish up TRecord 2021-02-09 02:51:14 +01:00
Folkert
963e7dee6a cleanup 2021-02-09 00:43:35 +01:00
Folkert
8f83bb4518 clippy 2021-02-08 22:54:52 +01:00
Folkert
0ccf17007e keyword in record field 2021-02-08 22:39:12 +01:00
Folkert
523df61622 first good parse error message 2021-02-08 20:56:02 +01:00
Folkert
2c9a80153d remove Bag 2021-02-08 00:33:29 +01:00
Folkert
ca04411523 fix tests/more uniq removal 2021-02-07 22:50:33 +01:00
Folkert
38b21c3474 add lifetime to SyntaxError 2021-02-07 22:26:55 +01:00
Folkert
148fffe969 parameterize Parser on an Error type 2021-02-07 22:08:28 +01:00
Folkert
db7e604643 clippy 2021-02-03 22:47:28 +01:00
Folkert
8c6a9c4144 working state 2021-02-03 22:32:27 +01:00
Folkert
d211ca7e61 WIP 2021-02-03 20:21:12 +01:00
Folkert
e643d1ea3c more backtracking 2021-02-02 18:47:58 +01:00
Folkert
e83cb0d027 fix top level def 2021-02-02 16:24:21 +01:00
Folkert
851f472167 make optional always backtrack on error 2021-02-02 16:04:06 +01:00
Folkert
95ebc8ded5 fix aliases and type annotations 2021-02-02 14:32:01 +01:00
Folkert
736fa73e88 fix headers and apply 2021-02-02 02:14:46 +01:00
Folkert
56f6770804 WIP 2021-02-02 01:56:50 +01:00
Folkert
8f5df8b7b8 fail when end of input is not reached by parser 2021-02-01 16:38:14 +01:00
Folkert
94a33c91dc clippy 2021-01-01 00:22:18 +01:00
Richard Feldman
80d959a103 Restore original state if skip parsers fail 2020-12-02 22:04:46 -05:00
Richard Feldman
a78434fd48 Finish introducing new header keywords 2020-11-23 00:08:49 -05:00
Sébastien Besnier
c692319fb9 correctly format multiline record type annotation 2020-11-21 20:36:26 +01:00
Sébastien Besnier
f9666d6efe better code comments 2020-11-21 20:36:26 +01:00
Sébastien Besnier
b29792855f fix some merge conflict consequences 2020-11-13 19:28:55 +01:00
Sébastien Besnier
58acc59b01 correctly parse trailing commas in record 2020-11-13 19:02:26 +01:00
Sébastien Besnier
099c56fcf6 make compiler happy after rebasing 2020-11-08 13:55:01 +01:00
Sébastien Besnier
66392eeeaf other parsing adjustment! 2020-11-08 13:48:19 +01:00
Richard Feldman
4633619e18 Use newline_char over ascii_char('\n') 2020-11-08 13:48:19 +01:00
Richard Feldman
61edcc7d03 Have ascii_char take a u8 2020-11-07 12:13:46 -05:00
Brendan Hansknecht
d00189530a Add fuzzing to the parser.
As part of this, todos and panics where moved outside of this module
to elsewhere when they would cause fuzzing to fail.
2020-10-30 22:04:54 -07:00
Richard Feldman
5080a7e24b Parse unicode escape sequences 2020-08-31 23:13:50 -04:00
Richard Feldman
8d1fad334f Drop obsolete utf8_char() parsing fn 2020-07-28 20:51:48 -04:00
Richard Feldman
153308dbf1 clippy 2020-07-27 01:10:04 -04:00
Richard Feldman
273528db77 Fix remaining UTF-8 parsing issues 2020-07-27 01:10:04 -04:00
Richard Feldman
9f9ce327d4 Lazily validate that input bytes are valid UTF-8 2020-07-27 01:10:04 -04:00
Richard Feldman
85f51ef39d Introduce optional record fields 2020-07-18 12:31:17 -04:00
Folkert
aea48f703a working parser error 2020-04-16 01:30:28 +02:00
Folkert
e21cdfc689 bring parse errors into the reporting tests 2020-04-15 19:49:05 +02:00
Richard Feldman
313b7a79e8 Use workspaces and move everything into compiler/ 2020-03-05 17:45:52 -05:00
Renamed from src/parse/parser.rs (Browse further)