Commit graph

130 commits

Author SHA1 Message Date
Richard Feldman
7cdbd83ee8 Fix spaces around = in def 2019-09-29 22:44:10 +03:00
Richard Feldman
fda3d3056a Get basic def working 2019-09-29 22:32:02 +03:00
Richard Feldman
02e8c4ffbc Parse underscore patterns 2019-09-21 22:24:20 -04:00
Richard Feldman
2a80702a21 Parse closures 2019-09-21 20:31:24 -04:00
Richard Feldman
752f7785b1 Shrink debug build times via BoxedParser 2019-09-20 02:27:04 -04:00
Richard Feldman
867ade4f46 Support record punning, e.g. { foo } 2019-09-20 01:19:49 -04:00
Richard Feldman
97e0434896 Parse record destructuring 2019-09-20 01:13:10 -04:00
Richard Feldman
2c61817c7c Parse closures 2019-09-20 00:26:49 -04:00
Richard Feldman
8fe4c749a2 is_lowercase implies is_alphabetic I think 2019-09-20 00:11:33 -04:00
Richard Feldman
3244330a5d Drop variant_or_ident 2019-09-20 00:11:15 -04:00
Richard Feldman
e5fcf70b87 Make variant_or_ident 2019-09-20 00:10:16 -04:00
Richard Feldman
9ed55714c9 Make Spaceable trait to prepare for patterns 2019-09-19 23:53:56 -04:00
Richard Feldman
26eb76f785 Parse parenthetical expressions 2019-09-19 23:04:50 -04:00
Richard Feldman
74c0215d2d Add the / operator 2019-09-18 19:02:42 -04:00
Richard Feldman
9c520d3785 Refactor some parsing code 2019-09-18 19:02:26 -04:00
Richard Feldman
9f5a359051 Remove extra Loc from AST in SpaceBefore/After 2019-09-18 05:00:48 -04:00
Richard Feldman
4a196915b0 Fix function application parsing 2019-09-18 04:52:13 -04:00
Richard Feldman
1054c3318b Extract parse_expr_body_without_operators 2019-09-18 03:01:12 -04:00
Richard Feldman
4ac9a51e1e Fix LineTooLong propagation, add failing op tests 2019-09-18 02:57:16 -04:00
Richard Feldman
df305e4cc8 Initial pass at parsing spaces/comments 2019-09-18 00:56:59 -04:00
Richard Feldman
4713087bb2 wip add more stuff 2019-09-17 20:06:57 -04:00
Richard Feldman
9863268793 Parse basic operators 2019-09-17 04:32:03 -04:00
Richard Feldman
d54cf81f7b Record raw strings during parse step 2019-09-17 04:31:54 -04:00
Richard Feldman
1f3d83ac14 Support string interpolation. 2019-09-15 14:59:56 -04:00
Richard Feldman
dfd1d4bbb4 Fix some line length and attempting issues. 2019-09-14 15:50:14 -05:00
Richard Feldman
57d7247ea6 Parse number literals 2019-09-04 01:07:27 -04:00
Richard Feldman
6e4e517787 Introduce parser::Fail 2019-09-04 00:09:28 -04:00
Richard Feldman
6a77f00ff9 Make some u32s be u16s 2019-09-03 20:24:36 -04:00
Richard Feldman
94a5461407 Remove Problems from parser, check line overflow 2019-09-03 20:08:30 -04:00
Richard Feldman
0cd8b08079 Reorganize parser code. 2019-09-03 01:30:54 -04:00