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
Folkert
047746c716
use only references (no Vec) in canonical AST
2020-10-29 00:12:44 +01:00
Richard Feldman
3c39a331d7
Remove obsolete parse::ast::TypedBody
2020-09-07 09:19:25 -04:00
Richard Feldman
f35e43768a
Get things compiling
2020-08-31 23:13:50 -04:00
Richard Feldman
85f51ef39d
Introduce optional record fields
2020-07-18 12:31:17 -04:00
Richard Feldman
5fe30be9f5
s/negate/neg
2020-07-12 22:53:03 -04:00
Richard Feldman
88990c8711
Move Int and Float modules into Num
2020-06-22 23:25:38 -04:00
Richard Feldman
101dc80ae5
Move parse::operator into module::operator
2020-05-01 21:58:53 -04:00