Commit graph

104 commits

Author SHA1 Message Date
Sébastien Besnier
d632e588ef add failing test 2020-11-23 14:24:10 +01:00
Sébastien Besnier
5562b986ce cargo fmt 2020-11-21 20:50:29 +01:00
Sébastien Besnier
0d9e3aa07b make clippy happy 2020-11-21 20:36:26 +01:00
Sébastien Besnier
bfe219f307 fix some wrong comments 2020-11-21 20:36:26 +01:00
Sébastien Besnier
52bace2c25 store the final comments in the AST for record & tag union annotations 2020-11-21 20:36:26 +01: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
932d9b1d16 fix region parsing 2020-11-21 15:57:12 +01:00
Folkert
4db48d9f13 more clippy things 2020-11-19 22:20:00 +01:00
rvcas
72c85009c6 do not set an underscore on parse and only prefix in formatter 2020-11-18 08:25:40 -05:00
rvcas
f471d5bbe1 we do want to compare underscore values 2020-11-18 07:40:06 -05:00
rvcas
1e7dcaebd8 finish parsing named underscores 2020-11-18 07:35:01 -05:00
rvcas
0088080636 check point for review 2020-11-17 23:46:40 -05:00
rvcas
8df5d5c13c feat(parse): support capturing a str in Pattern::Underscore 2020-11-17 21:53:49 -05:00
Sébastien Besnier
2000948765 format the final comments in records 2020-11-14 18:39:46 +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
6ad1bb233a add TrailingComma to Record & little formatter refactor 2020-11-13 19:01:46 +01:00
Folkert
78063f87d7 fix tag pattern argument bug 2020-11-09 23:22:08 +01:00
Folkert
65c1e0e5b1 appease clippy 2020-11-09 02:02:20 +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
Sébastien Besnier
bf68477c8a cargo fmt 2020-11-08 13:48:19 +01:00
Sébastien Besnier
45fb93d4ac comment out parsing test 2020-11-08 13:48:19 +01:00
Sébastien Besnier
a6a4750501 fix parsing issue 2020-11-08 13:48:19 +01:00
Richard Feldman
6c01d02de0 Make ann_pattern and ann_type references 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
Sébastien Besnier
cfbfbf09be cargo fmt 2020-11-08 13:45:47 +01:00
Sébastien Besnier
94006f1d8f make clippy happy.... again 2020-11-08 13:45:47 +01:00
Sébastien Besnier
8870776fb0 make clippy happy 2020-11-08 13:43:11 +01:00
Sébastien Besnier
f4c1af0f19 test_can pass 2020-11-08 13:43:11 +01:00
Sébastien Besnier
014131dabe handle AnnotatedBody everywhere. It compiles now! 2020-11-08 13:43:11 +01:00
Sébastien Besnier
d2d3681d7e fix issue in annotated_body parser -- now compiling! 2020-11-08 13:43:11 +01:00
Sébastien Besnier
29c8ea6d8e transform annotated_body parser into small functions 2020-11-08 13:43:11 +01:00
Sébastien Besnier
bffc597e4e remove unused annotation 2020-11-08 13:43:11 +01:00
Sébastien Besnier
efe3497cc9 add AnnotatedBody in AST enum type 2020-11-08 13:43:11 +01:00
Folkert
809f815901 change import syntax 2020-11-07 21:03:51 +01:00
Richard Feldman
ea150b0101 Change syntax for requires in platform modules 2020-11-07 12:20:09 -05:00
Richard Feldman
61edcc7d03 Have ascii_char take a u8 2020-11-07 12:13:46 -05:00
Richard Feldman
7ba95a0bd0 Parse user-specified Effect name 2020-11-07 12:05:45 -05:00
Richard Feldman
c8b28b96fa Parse a : before each effects entry 2020-11-07 11:42:55 -05:00
Pablo Hirafuji
0c20713f94 Add doc comment new line parsing 2020-11-06 13:57:41 -03:00
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
11752117a5 Add other fuzz target 2020-10-31 18:56:08 -07:00
Brendan Hansknecht
2b4c873c73 Add README about running the fuzzer 2020-10-31 10:50:34 -07: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
a43afc968d vec to slice in parse tests 2020-10-29 00:14:48 +01:00
Folkert
047746c716 use only references (no Vec) in canonical AST 2020-10-29 00:12:44 +01:00
Anton-4
12821bf321 replaced deprecated std::u16::MAX with u16::MAX 2020-10-21 14:35:36 +02:00