Commit graph

56 commits

Author SHA1 Message Date
Joshua Warner
6a30e422da Remove unused spaces_till_end_of_line / chomp_line_comment functions from the parser 2021-11-02 20:28:16 -07:00
Folkert
e85540e5f5 fix more indent problems 2021-04-05 14:31:50 +02:00
Folkert
c8e554e119 fix indent issue when parsing tag unions 2021-04-05 14:10:49 +02:00
Folkert
2a0c5c669b fiddling with the when parser 2021-03-24 22:55:01 +01:00
Folkert
2fc9d20867 cleanup 2021-03-17 21:14:19 +01:00
Folkert
361eb25562 cleanup 2021-03-13 22:39:50 +01:00
Folkert
c26fd45d54 all is working again 2021-03-13 22:36:44 +01:00
Folkert
703a8de72f basic structure 2021-03-12 22:21:27 +01:00
Folkert
fd5ab353db clippy 2021-03-12 03:46:52 +01:00
Folkert
f5f98b2400 clippy 2021-03-12 03:43:39 +01:00
Folkert
f7744b4caa remove is_indenting 2021-03-12 02:38:46 +01:00
Folkert
222638e9bb confirm is_indenting is not needed 2021-03-12 02:28:57 +01:00
Folkert
c938a93dea fix comment newline chomping issue 2021-03-12 02:24:00 +01:00
Folkert
5e4db62c46 remove Attempting and more 2021-03-12 02:09:48 +01:00
Folkert
4f58c792e6 removing old stuff 2021-03-12 01:37:27 +01:00
Folkert
f5d3845b14 remove unused functions 2021-03-12 01:15:44 +01:00
Folkert
9265cf82b9 more cleanup 2021-03-12 01:11:34 +01:00
Folkert
0bc1a0e50b cleanup 2021-03-12 00:41:28 +01:00
Folkert
cffb8094b8 also use new parser for space1 2021-03-12 00:37:58 +01:00
Folkert
f5284d1db7 new space parser 2021-03-12 00:33:08 +01:00
Folkert
3e554cb21f cleanup 2021-03-11 21:21:00 +01:00
Folkert
b4b77add08 cleanup 2021-03-11 16:40:01 +01:00
Folkert
e214674016 cleanup blankspace function usage 2021-03-11 16:37:42 +01:00
Folkert
9e3edfaf20 add space1_e 2021-03-01 14:28:14 +01:00
Folkert
a3d936fb30 more use of EExpr 2021-02-28 01:22:14 +01:00
Folkert
5ec0103996 make parser helpers emit a more specific error (line too long) 2021-02-26 19:44:26 +01:00
Folkert
fed292811f remove arena argument 2021-02-26 15:09:52 +01:00
Folkert
bb9a2525b5 number parsing with new errors 2021-02-26 15:06:24 +01:00
Folkert
9ce39cd633 another merge 2021-02-25 14:44:43 +01:00
Folkert
1a7fd57833 parse closure 2021-02-25 02:03:47 +01:00
Folkert
9edbf322c0 error message for when 2021-02-20 22:08:53 +01:00
Folkert
19d3e43f09 better indentation errors (use original location for error) 2021-02-12 13:47:56 +01:00
Folkert
b7e4964be1 tab errors 2021-02-09 15:49:38 +01:00
Folkert
8f83bb4518 clippy 2021-02-08 22:54:52 +01:00
Folkert
523df61622 first good parse error message 2021-02-08 20:56:02 +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
59f547b2be fix trailing whitespace 2021-02-03 23:06:18 +01:00
Folkert
d211ca7e61 WIP 2021-02-03 20:21:12 +01:00
Folkert
f6aa77e6a8 fix all gen and cli tests 2021-02-02 22:06:11 +01:00
Folkert
d284d3bb72 all parse tests work! 2021-02-02 16:32:52 +01:00
Folkert
e83cb0d027 fix top level def 2021-02-02 16:24:21 +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
Sébastien Besnier
bfe219f307 fix some wrong comments 2020-11-21 20:36:26 +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
efe3497cc9 add AnnotatedBody in AST enum type 2020-11-08 13:43:11 +01:00
Pablo Hirafuji
0c20713f94 Add doc comment new line parsing 2020-11-06 13:57:41 -03:00