Brendan Hansknecht
|
f7c0e2ef19
|
Merge remote-tracking branch 'origin/trunk' into single-quote-literal
|
2022-02-24 10:13:39 -08:00 |
|
ayazhafiz
|
6b53692aac
|
Canonicalize opaque types
|
2022-02-20 13:47:01 -05:00 |
|
ayazhafiz
|
6104a27b45
|
Parse opaque references
|
2022-02-19 21:30:42 -05:00 |
|
ayazhafiz
|
a38f1d1e8d
|
Fmt and clippy
|
2022-02-19 20:54:21 -05:00 |
|
ayazhafiz
|
3c10ad2a9f
|
Test for opaque definitions
|
2022-02-19 20:51:12 -05:00 |
|
ayazhafiz
|
fa24e51593
|
Parse opaque types
|
2022-02-19 18:38:31 -05:00 |
|
ayazhafiz
|
8ce81e4607
|
AliasHeader -> TypeHeader
|
2022-02-19 17:51:56 -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 |
|
ayazhafiz
|
a6f7579c07
|
Parse and expand numeric bounds in canonicalization pass
|
2022-02-01 22:50:46 -05:00 |
|
ayazhafiz
|
9f72b2710f
|
Run linter
|
2022-02-01 22:49:52 -05:00 |
|
ayazhafiz
|
e03592930f
|
Typecheck numeric literals with suffixes in expressions
Part of #2350
|
2022-02-01 22:49:50 -05:00 |
|
ayazhafiz
|
320827167f
|
Parse number literal width suffixes
Supports [u,i][8,16,32,64,128] and [nat,dec]
Part of #2350
|
2022-02-01 22:48:48 -05:00 |
|
Jan Van Bruggen
|
1e9d2d1239
|
Remove accidental trailing spaces
|
2022-01-18 22:25:46 -07:00 |
|
Joshua Warner
|
cb8cf44596
|
fmt
|
2022-01-01 18:20:05 -08:00 |
|
Joshua Warner
|
70156b0a90
|
Simplify advancing
|
2022-01-01 18:20:05 -08:00 |
|
Joshua Warner
|
2901549422
|
Assert new column calculation is correct
|
2022-01-01 18:20:05 -08:00 |
|
Joshua Warner
|
a13c474f6b
|
Remove line tracking in parser
|
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
|
bd7b1e5013
|
Make Loc::new take Positions
|
2022-01-01 18:20:05 -08:00 |
|
ayazhafiz
|
0c81302d29
|
Admit tag destructuring in definitions
|
2021-12-30 19:50:50 -06:00 |
|
Folkert
|
b924f7e329
|
use new header type in a spot we missed
|
2021-12-27 23:58:56 +01:00 |
|
Folkert de Vries
|
bb935948aa
|
Merge pull request #2276 from rtfeldman/i/2265
Parse "as" aliases into tag/args rather than arbitrary annotations
|
2021-12-27 20:56:48 +01:00 |
|
ayazhafiz
|
b3ddfa7515
|
Parse destructured tag annotations as annotations rather than aliases
Closes #178
|
2021-12-26 16:11:29 -06:00 |
|
ayazhafiz
|
966198a6e7
|
Coalesce inline and normal alias headers
Unifies `As` annotations and `Alias` defs to use a common struct for
defining alias header information, i.e. the name and type variables of
the alias.
|
2021-12-26 09:37:56 -06: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 |
|
Richard Feldman
|
3ffe5768e1
|
Merge pull request #2239 from rtfeldman/joshuawarner32/pipeline-format-fail
Fix formatting of pipelined call exprs
|
2021-12-20 15:46:23 -05:00 |
|
Richard Feldman
|
5aa67d4244
|
Merge pull request #2231 from rtfeldman/joshuawarner32/record_func_type_decl
Allow function types in records
|
2021-12-20 11:45:27 -05:00 |
|
Joshua Warner
|
61cdbd1531
|
Fix formatting of pipelined call exprs
|
2021-12-18 16:36:51 -08:00 |
|
Joshua Warner
|
96e8916594
|
Refactor BadOperator to take a &str rather than &[u8]
|
2021-12-18 14:42:48 -08:00 |
|
Joshua Warner
|
efa54287f1
|
Return the original error if there's an unexpected trailing comma
|
2021-12-18 13:26:59 -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 |
|
ayazhafiz
|
8a60162a1e
|
Rename roc_module::operator -> roc_module::called_via
A bit of a nit, but this file is now more general than just keeping
track of operator methods.
|
2021-11-18 20:20:33 -05:00 |
|
Joshua Warner
|
9bf1674946
|
Shrink Collection to make parse_expr_size test pass
|
2021-11-13 16:17:44 -08:00 |
|
Joshua Warner
|
d63405d824
|
Make Expr::List use a Collection
|
2021-11-13 07:38:11 -08:00 |
|
Joshua Warner
|
a4ca6a31a6
|
Use Collection in Expr::Record and related places
|
2021-11-13 07:36:05 -08:00 |
|
Joshua Warner
|
9a74ca441d
|
Name all "error" enums in the parser starting with E
|
2021-11-12 08:38:29 -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
|
8272ea876f
|
Get it all to compile!
|
2021-10-02 13:48:07 -04: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 |
|
Anton-4
|
314503cf7f
|
fixed typos, added typos checking to CI
|
2021-06-05 20:02:54 +02:00 |
|