Commit graph

272 commits

Author SHA1 Message Date
Brendan Hansknecht
4b901814f7 Fix memory leak with bumpalo String 2020-11-01 18:04:40 -08:00
Brendan Hansknecht
936521db1f Make clippy happy 2020-11-01 09:41:46 -08: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
Folkert
047746c716 use only references (no Vec) in canonical AST 2020-10-29 00:12:44 +01:00
Richard Feldman
f35e43768a Get things compiling 2020-08-31 23:13:50 -04:00
Richard Feldman
153308dbf1 clippy 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
Folkert
29c3eebace parse default optional expressions in pattern matches 2020-07-20 00:52:16 +02:00
Richard Feldman
85f51ef39d Introduce optional record fields 2020-07-18 12:31:17 -04:00
Richard Feldman
152e06186b Reserved keywords can't be patterns 2020-07-17 19:49:27 -04:00
Richard Feldman
ef010d4dec Fix parsing bug for malformed when-branches 2020-07-17 19:49:27 -04:00
Folkert
672b67d527 initial version of annotation formatting 2020-07-09 17:41:21 +02:00
Chad Stearns
830394eadf Comply with clippy 2020-06-21 17:24:14 -04:00
Richard Feldman
ff953021d5 Fix parser bug with newline after '=' in def
Fixes #51
2020-05-03 08:50:55 -04:00
Richard Feldman
2eea57a51a Add some more detail to a todo 2020-05-02 22:19:29 -04:00
Richard Feldman
101dc80ae5 Move parse::operator into module::operator 2020-05-01 21:58:53 -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
Folkert
11c8e2bfaa improve Precedence error message 2020-03-31 23:11:35 +02:00
Folkert
f02193b962 fix new clippy warnings 2020-03-12 22:56:58 +01:00
Richard Feldman
3ecbe0325c Plain number literals (e.g. 5) are now Num * 2020-03-10 22:27:13 -04:00
Richard Feldman
313b7a79e8 Use workspaces and move everything into compiler/ 2020-03-05 17:45:52 -05:00
Renamed from src/parse/mod.rs (Browse further)