Joshua Warner
f19220473a
Rename Located -> Loc
2021-12-22 19:18:22 -08:00
ayazhafiz
8b7217847d
Rename additional stale roc_module::operator refs and format
2021-11-18 20:20:33 -05: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
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
Richard Feldman
ab8cc95c2b
Disable clippy rule for manual_map
2021-05-07 08:44:44 -04:00
Folkert
fecb83b9c2
fixes
2021-05-07 11:00:15 +02:00
Richard Feldman
60be120fc1
Rename COPYRIGHT_DETAILS to LEGAL_DETAILS
...
Turns out GitHub's `Licensee` gem treats any file with the word
"copyright" in it as a potential license, and therefore doesn't
recognize and list Roc's license as UPL-1.0 because it thinks
there might be two licenses or something.
d274e47c71/lib/licensee/project_files/license_file.rb (L26)
2021-04-22 21:52:07 -04:00
Richard Feldman
f34a75f26e
Rename COPYRIGHT file to COPYRIGHT_DETAILS
...
This way, GitHub's license finder doesn't get confused.
(They use the `Licensee` Ruby gem, which looks for files like
LICENSE, which we have, but also COPYRIGHT - and it apparently
gets confused if it sees both.)
2021-04-22 21:41:11 -04:00
Folkert
700e7d9686
parse expect
2021-04-22 23:00:44 +02:00
Richard Feldman
a11b849d45
Reference the COPYRIGHT file inline
2021-04-21 19:24:45 -04:00
Folkert
28ba645121
parse underscores in expressions
2021-04-11 21:02:31 +02:00
Folkert
4a3e90fdef
fix backpassing region
2021-04-09 12:02:50 +02:00
Folkert
ef211ce49a
clippy
2021-03-21 22:15:47 +01:00
Folkert
ce98da9d04
remove Nested from Def
2021-03-21 21:14:32 +01:00
Folkert
2827af7e59
remove Nested from pattern
2021-03-21 21:03:37 +01:00
Folkert
197835b6ed
remove nested in expr
2021-03-21 20:56:18 +01:00
Folkert
165a2d83ff
cleanup
2021-03-21 00:24:58 +01:00
Folkert
8b8afec50e
remove allocation
2021-03-20 23:51:55 +01:00
Folkert
1871697b0f
remove BinOp variant
2021-03-20 23:01:12 +01:00
Folkert
ad40609d44
cleanup
2021-03-20 22:36:08 +01:00
Folkert
d5ec66244f
use new binops
2021-03-20 21:19:10 +01:00
Folkert
e0c211081a
remove update field from normal Record constructor
2021-03-20 16:49:14 +01:00
Folkert
60265b5d2a
add dedicated RecordUpdate tag to parse ast
2021-03-20 16:06:07 +01:00
Folkert
0e7106280c
bump allocate precedence conflict
2021-03-20 15:59:06 +01:00
Folkert
9208000316
only store start position for PrecedenceConflict
2021-03-20 15:34:08 +01:00
Folkert
d22acb521e
use record for PrecedenceConflict
2021-03-20 15:07:15 +01:00
Folkert
9d10b060da
clippy
2021-03-17 21:19:26 +01:00
Folkert
0be4704f94
checkpoint working parse tests
2021-03-13 15:49:07 +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
1663822ac9
Revert "deadend"
...
This reverts commit 06278c2efe
.
2021-03-12 16:37:44 +01:00
Folkert
06278c2efe
deadend
2021-03-12 16:37:00 +01:00
Folkert
182fd5201d
store is_negative for all number literals in the parse ast
2021-03-12 16:11:46 +01:00
Folkert
e2d08b8f78
make backpassing an expr
2021-03-06 16:05:18 +01:00
Folkert
42654debbf
basic backpassing
2021-03-05 22:33:34 +01:00
Folkert
e395d18e16
bunch of stuff
2021-02-28 23:36:27 +01:00
Folkert
4eea0aff7a
refactor parse AST to allow multiple if branches
2021-02-25 14:34:58 +01:00
Sébastien Besnier
4e9387cbda
fix compile issues
2020-12-28 21:17:27 +01:00
Sébastien Besnier
58acc59b01
correctly parse trailing commas in record
2020-11-13 19:02:26 +01:00
Sébastien Besnier
6ad1bb233a
add TrailingComma to Record & little formatter refactor
2020-11-13 19:01:46 +01:00
Sébastien Besnier
420e1c84e0
make clippy happy
2020-11-08 13:48:19 +01:00
Sébastien Besnier
a6a4750501
fix parsing issue
2020-11-08 13:48:19 +01:00
Richard Feldman
6db4bd6ed4
Drop spaces around fields in canonicalization
2020-11-08 13:48:19 +01:00
Richard Feldman
5f82372899
Fix AnnotatedBody desugaring
2020-11-08 13:48:19 +01:00
Sébastien Besnier
014131dabe
handle AnnotatedBody everywhere. It compiles now!
2020-11-08 13:43:11 +01:00
Brendan Hansknecht
d00189530a
Add fuzzing to the parser.
...
As part of this, todos and panics where moved outside of this module
to elsewhere when they would cause fuzzing to fail.
2020-10-30 22:04:54 -07:00
Folkert
ee23e5979d
pass argument by reference
2020-10-29 00:35:10 +01:00