Commit graph

44 commits

Author SHA1 Message Date
Ayaz Hafiz
bd8333ebb1
Parse multiple abilities behind each other 2022-04-06 11:20:51 -04:00
Brendan Hansknecht
f7c0e2ef19 Merge remote-tracking branch 'origin/trunk' into single-quote-literal 2022-02-24 10:13:39 -08:00
ayazhafiz
6104a27b45 Parse opaque references 2022-02-19 21:30:42 -05:00
Joshua Warner
f440d53e7b Refactor: introduce trait SpaceProblem to remove a bunch of redundant args in ::Space errors 2022-02-15 20:48:04 -08:00
Joshua Warner
70156b0a90 Simplify advancing 2022-01-01 18:20:05 -08:00
Joshua Warner
1b257da356 Make State::xyzlcol a LineColumn, and change everything wanting a Position to use State::pos() instead 2022-01-01 18:20:05 -08:00
Joshua Warner
d2dcb462c7 Rename State::pos -> xyzlcol, temporarily 2022-01-01 18:20:05 -08:00
Joshua Warner
22e2545fd6 format 2021-12-22 20:46:42 -08:00
Joshua Warner
f170509bf1 rename col -> column 2021-12-22 20:37:40 -08:00
Joshua Warner
4d7070ce3b Always combine line,column into Position 2021-12-22 20:32:46 -08:00
Joshua Warner
f19220473a Rename Located -> Loc 2021-12-22 19:18:22 -08:00
Joshua Warner
2e85c19101 Require explicit cloning of State 2021-12-16 17:13:58 -08:00
Joshua Warner
49818343dd extract state 2021-12-16 17:13:53 -08:00
Chelsea Troy
6cf755ad8d Resolve a bunnnch of merge conflicts 2021-11-29 23:14:29 -06:00
Joshua Warner
a4ca6a31a6 Use Collection in Expr::Record and related places 2021-11-13 07:36:05 -08:00
Joshua Warner
04d4a8ca79 Introduce Collection as a general abstraction in the ast 2021-11-11 14:49:33 -08:00
Joshua Warner
6d4f3f4da7 Allow parsing a single newline/comment in empty list 2021-11-09 07:33:36 -08:00
Eric Correia
dc2016dc0d Start single-quote literal parser work 2021-08-15 11:08:05 -04:00
Richard Feldman
538cb3fe10 Rename parse_ident_help to parse_ident 2021-08-01 10:23:16 -04:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
2a0c5c669b fiddling with the when parser 2021-03-24 22:55:01 +01:00
Folkert
73e6128ce3 parse multi-backtracking 2021-03-19 00:10:02 +01:00
Folkert
214112d751 Revert "store is_negative for all number literals in the parse ast"
This reverts commit 182fd5201d.
2021-03-12 16:43:52 +01:00
Folkert
182fd5201d store is_negative for all number literals in the parse ast 2021-03-12 16:11:46 +01:00
Folkert
fd5ab353db clippy 2021-03-12 03:46:52 +01:00
Folkert
cba55734cb clean up helpers 2021-03-12 03:41:01 +01:00
Folkert
e815e57dcf remove more syntax errors 2021-03-12 03:04:47 +01:00
Folkert
5e2848d10c use the EExpr identifier parser 2021-03-10 12:55:56 +01:00
Folkert
8cff7b060e pattern number parsing 2021-03-01 19:21:07 +01:00
Folkert
a87dfac7da improved malformed patterns 2021-03-01 16:12:37 +01:00
Folkert
e395d18e16 bunch of stuff 2021-02-28 23:36:27 +01:00
Folkert
4c104e7b0e fix formatting 2021-02-26 15:55:54 +01:00
Folkert
d05039f295 merge if and list 2021-02-25 14:58:33 +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
3a35bcb3cb clippy 2021-02-20 19:31:49 +01:00
Folkert
9f60ba2557 fix region issue in record fields 2021-02-20 19:15:08 +01:00
Folkert
576b7974e8 if guard empty condition message 2021-02-20 16:30:56 +01:00
Folkert
5f4f7f009c milestone: change pattern messages over 2021-02-20 15:34:32 +01:00
Folkert
e27be136cb progress on apply 2021-02-20 14:17:25 +01:00
Folkert
f6fac092a4 checkpoint 2021-02-20 13:47:01 +01:00
Folkert
e007430584 infra for record patterns 2021-02-20 01:08:25 +01:00
Folkert
70b5e18c21 start building pattern parser 2021-02-20 00:35:03 +01:00
Richard Feldman
908e485fca Move constrain and its deps into their own crates 2020-03-06 01:43:39 -05:00