Commit graph

49 commits

Author SHA1 Message Date
ayazhafiz
e420ebd023 Add TODOs for opaque type comments that will need to be changed later 2022-02-21 23:21:39 -05:00
ayazhafiz
6104a27b45 Parse opaque references 2022-02-19 21:30:42 -05:00
Folkert
16a2b660c3 bookkeeping 2022-02-02 23:11:52 +01:00
Richard Feldman
c1c0ffb25f Use UppercaseIdent over PlatformRigids 2022-01-23 11:13:23 -05:00
Joshua Warner
70156b0a90 Simplify advancing 2022-01-01 18:20:05 -08:00
Joshua Warner
721233f9c8 More incremental changes 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
4d7070ce3b Always combine line,column into Position 2021-12-22 20:32:46 -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
Richard Feldman
538cb3fe10 Rename parse_ident_help to parse_ident 2021-08-01 10:23:16 -04:00
Folkert
032a55383c fix whitespace issue 2021-03-14 14:48:39 +01:00
Folkert
fd5ab353db clippy 2021-03-12 03:46:52 +01:00
Folkert
b349ae7ab5 type variable errors 2021-03-12 03:18:31 +01:00
Folkert
98024b2a21 parse tag names in types 2021-03-12 01:49:09 +01:00
Folkert
3e554cb21f cleanup 2021-03-11 21:21:00 +01:00
Folkert
92cff4c32a optimize type parser 2021-03-11 01:48:05 +01:00
Folkert
30b47b9593 use unit error type more 2021-03-10 23:08:12 +01:00
Folkert
37462d6ec6 use unit error type 2021-03-10 23:06:47 +01:00
Folkert
55a92b50cc remove unused ident errors 2021-03-10 23:03:01 +01:00
Folkert
864390a89a use new ident parser 2021-03-10 21:56:19 +01:00
Folkert
e7bbfe96db fix parse tests 2021-03-10 21:46:34 +01:00
Folkert
61fc05dace working report tests 2021-03-10 21:42:37 +01:00
Folkert
796ec00323 wip faster ident parsing 2021-03-10 20:21:51 +01:00
Folkert
ea32a37315 improved private tag parsing 2021-03-10 17:26:42 +01:00
Folkert
edd54ab4ab specialize accessor parsing 2021-03-10 15:23:11 +01:00
Folkert
058551a224 remove capitalized_parts 2021-03-10 13:37:35 +01:00
Folkert
fd82f1d45b cparts 2021-03-10 13:02:32 +01:00
Folkert
397e579d88 chomp from source string 2021-03-10 12:58:32 +01:00
Folkert
5e2848d10c use the EExpr identifier parser 2021-03-10 12:55:56 +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
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
8f83bb4518 clippy 2021-02-08 22:54:52 +01:00
Folkert
0ccf17007e keyword in record field 2021-02-08 22:39:12 +01:00
Folkert
2c9a80153d remove Bag 2021-02-08 00:33:29 +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
d211ca7e61 WIP 2021-02-03 20:21:12 +01:00
Folkert
e83cb0d027 fix top level def 2021-02-02 16:24:21 +01:00
Folkert
56f6770804 WIP 2021-02-02 01:56:50 +01:00
Richard Feldman
7ba95a0bd0 Parse user-specified Effect name 2020-11-07 12:05:45 -05:00
Richard Feldman
273528db77 Fix remaining UTF-8 parsing issues 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
Richard Feldman
a4b0bdc679 Fix parsing bug in accessor functions
(They weren't advancing the state by 1, because the state
advancement was relying on part_buf - which was empty
in the case of accessor functions due to having only parsed
the dot so far.)
2020-07-23 21:37:03 -04:00
Richard Feldman
313b7a79e8 Use workspaces and move everything into compiler/ 2020-03-05 17:45:52 -05:00
Renamed from src/parse/ident.rs (Browse further)