Folkert
72518bca9c
fix clippy things
2022-05-25 15:28:14 +02:00
Folkert
2ae804790a
parse toplevel defs into an SOA structure
2022-05-23 22:07:37 +02:00
Richard Feldman
4eec34becf
Update to use new square brace formatting
2022-05-22 23:15:54 -04:00
Ayaz Hafiz
a4c122d5db
Validate derives clauses after solving
2022-05-20 15:56:55 -04:00
ayazhafiz
6f51eb09dd
Don't expose specializations to host
2022-05-19 18:21:44 -04:00
Ayaz Hafiz
6d19f31574
Remove mono-related changes for now
2022-05-19 18:21:43 -04:00
Ayaz Hafiz
3f4336d15a
Save ability specializations
...
Unfortunately not enough...
2022-05-19 18:21:42 -04:00
Ayaz Hafiz
f8cf18b10e
Remove ExposedModuleTypes::Invalid
2022-05-19 18:21:42 -04:00
Ayaz Hafiz
95395ffc5f
Remove debugs
2022-05-19 18:21:41 -04:00
Ayaz Hafiz
ce6ef38477
Clippy
2022-05-19 18:21:41 -04:00
Ayaz Hafiz
f1e09fbe78
Pass ability specializations back down
2022-05-19 18:21:41 -04:00
Ayaz Hafiz
28d6f30cc7
Fix type errors
2022-05-19 18:21:40 -04:00
Ayaz Hafiz
0f4be93e44
Add JSON builtin, pass along solved specializations per module
2022-05-19 18:21:40 -04:00
Ayaz Hafiz
312cdd0b70
Correct imports of Encode and abilities across modules
2022-05-19 18:21:40 -04:00
Ayaz Hafiz
921f95a5b6
Ability docs
2022-05-19 18:21:38 -04:00
Richard Feldman
c1cc255403
Merge pull request #3076 from rtfeldman/fix-release-warnings
...
Fix --release warnings
2022-05-18 13:00:41 -04:00
Ayaz Hafiz
e1c432061b
Reorder so clippy doesn't complain
2022-05-18 11:15:03 -04:00
Ayaz Hafiz
6a9d7e07e7
Mono problems aren't a thing anymore
2022-05-18 10:07:59 -04:00
Ayaz Hafiz
a8265426df
Simplify ExposedModuleTypes
...
The `Invalid` variant was never constructed, so we can eliminate it.
2022-05-18 09:59:37 -04:00
Richard Feldman
7a353f0e0c
Fix --release warnings
2022-05-18 08:20:22 -04:00
Richard Feldman
9bc1e320dc
Fix --release warnings
2022-05-15 21:50:49 -04:00
Ayaz Hafiz
710a10a29c
Check for invalid cycles after type solving recursive defs
...
Disallow cycles that pass through a non-function value. Since we
evaluate eagerly, having one such cycle means there is at least one path
in the program that (likely) has unbounded recursion. Of course we can't
be certain (halting problem), but it's very likely, and avoids stuff
like #1926 . Also, mono (as it's done today) won't work if things in a
cycle aren't functions.
Closes #1926
2022-05-11 14:57:01 -04:00
Richard Feldman
df7df4ccf8
Merge branch 'trunk' into mfonism/rename-num-float-type-to-frac
2022-05-08 20:54:33 -04:00
Ayaz Hafiz
da604e978e
Use SpecializationId to mark specializations
2022-05-08 15:08:19 -04:00
Folkert
29a9564d36
and yet another result wrapper
2022-05-08 17:16:24 +02:00
Folkert
2e9477e011
remove another result wrapper
2022-05-08 17:16:13 +02:00
Mfon Eti-mfon
85c622b169
Update symbols definition
2022-05-08 15:54:34 +01:00
Ayaz
dd51479764
Merge pull request #3009 from rtfeldman/list-map-ownership
...
List map ownership
2022-05-07 19:59:15 -04:00
Folkert
ec8b2cd8b1
get rid of num_cpus in favor of std:
🧵 :available_parallelism
2022-05-07 15:11:18 +02:00
Folkert
35bf66f650
hook up the max_threads flag
2022-05-07 14:18:28 +02:00
Folkert
2066999908
get the threading info into file.rs
2022-05-07 14:01:34 +02:00
Folkert de Vries
201d09d9bf
Merge branch 'trunk' into list-map-ownership
2022-05-07 11:59:51 +02:00
Richard Feldman
281602d664
Merge pull request #3003 from rtfeldman/threading
...
Explicit single vs multithreading for build functions
2022-05-06 15:07:33 -04:00
Ayaz Hafiz
77a1f644a4
Thread error message information for requires
2022-05-06 12:06:27 -04:00
Ayaz Hafiz
e8fbda44fc
Revert "Revert "Thread through symbols_from_requires""
...
This reverts commit 8ac1dfac1a
.
2022-05-06 12:06:27 -04:00
Folkert
8c3a00f7aa
thread through an updatemodeids
2022-05-06 15:41:29 +02:00
Folkert
cfa331be02
handle sorting of unique lists
2022-05-06 15:28:56 +02:00
Richard Feldman
8ac1dfac1a
Revert "Thread through symbols_from_requires"
...
This reverts commit 1421aebcd3
.
2022-05-05 16:19:34 -04:00
Richard Feldman
1421aebcd3
Thread through symbols_from_requires
2022-05-05 16:18:47 -04:00
Richard Feldman
9b1fa699dc
The journey of a thousand miles begins with one clip
2022-05-05 14:42:36 -04:00
Richard Feldman
dd460fb818
Use single-threaded builds in tests
2022-05-05 14:42:36 -04:00
Richard Feldman
739e249a44
Allow roc check
on Package-Config.roc
2022-05-04 21:36:48 -04:00
Richard Feldman
dd1e8cc193
[Shatner yell] CLIPPYYYYYYYYYYY!!!!!!!
2022-05-02 21:18:30 -04:00
Richard Feldman
e6b05d463e
Make PRELUDE_TYPES a constant
2022-05-02 19:29:39 -04:00
Richard Feldman
7e0265adc2
Add an explicit scope around a lock
2022-05-02 10:28:08 -04:00
Ayaz
2ab0bc1226
Merge pull request #2982 from rtfeldman/more-debug-flags
...
Add more debug flags
2022-05-01 14:30:33 -04:00
Ayaz
84b3ef5fd7
Merge pull request #2978 from rtfeldman/scope-bitmask
...
Scope bitmask
2022-05-01 12:26:14 -04:00
ayazhafiz
37ba70472f
Add more debug flags
2022-05-01 12:25:03 -04:00
Ayaz
3197cd97ce
Merge pull request #2977 from rtfeldman/debug_flags
...
Factor bespoke debug variables into debug_flags crate
2022-04-30 18:16:06 -04:00
Folkert
a5ec269a4d
clippy
2022-04-30 21:06:34 +02:00