Folkert
2066999908
get the threading info into file.rs
2022-05-07 14:01:34 +02: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
Folkert
e112f6ad2c
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc
2022-04-16 21:01:51 +02:00
Folkert
51a02b05dc
don't cache builtins when the target is wasm (wasm declaration order is different from the cached version we make at compile time)
2022-04-16 20:36:25 +02:00
Folkert
493a96d85b
mark the builtin files as such so builtin function implementations are inserted
2022-04-13 21:40:08 +02:00
Folkert
7c583b5e79
disable caching just for CI
2022-04-13 14:09:22 +02:00
Ayaz Hafiz
15a040ec87
Basic type inference and solving for abilities
...
Note that is still pretty limited. We only permit opaque types to
implement abilities, abilities cannot have type arguments, and also no
other functions may depend on abilities
2022-04-12 16:18:07 -04:00
Ayaz Hafiz
913d97cab1
Add needed imports
2022-04-12 16:18:07 -04:00
Folkert
2cb175df10
use cached subs, run solve tests single-threaded
2022-04-10 21:22:15 +02:00
Folkert
52b58ecdf3
don't write to (temp) file in solve tests
2022-04-10 16:22:35 +02:00
Folkert
bdfed2e699
disable usage of cached modules, but do the caching
2022-04-09 12:23:47 +02:00
Folkert
4d780ec090
disable use of cached subs temporarily
2022-04-09 12:05:35 +02:00
Folkert
795e24245c
generate all modules on this branch
2022-04-08 19:50:25 +02:00
Folkert
fd209f90ff
fix bug where incorrect stack size is given
2022-03-30 17:25:28 +02:00
Folkert
f1cc3be8d5
fix formatting
2022-03-23 22:58:11 +01:00
Folkert
887c5ef698
rename standard_library -> roc
2022-03-23 21:21:46 +01:00
Folkert
afee877cf1
skeleton for caching stdlib subs
2022-03-23 21:19:38 +01:00
Folkert
4859f530cd
generate cached subs
2022-03-23 21:19:37 +01:00
Folkert
80b8635947
restructure how load is used
2022-03-23 21:19:36 +01:00
Folkert
0a6335e772
start on roc_load build.rs script for building the builtins
2022-03-23 21:19:34 +01:00
Folkert
7bb1fd88fa
add load_internal
2022-03-23 21:19:34 +01:00
Folkert
d8fa2b8d92
stop passing stdlib (use lazy_static)
2022-03-22 19:53:02 +01:00
Folkert
7062a71216
clippy
2022-03-20 21:42:04 +01:00
Folkert
832681269e
add serialization test code
2022-03-20 21:32:59 +01:00
Folkert
45863769eb
fix transitive imported aliases not being passed along
2022-03-20 00:03:20 +01:00
Folkert
55d9dc745c
track if an alias is exposed
2022-03-19 17:10:29 +01:00
Folkert
62ca9ba8d0
make timing info available in check
mode
2022-03-19 16:27:14 +01:00
Folkert
dcd86711ec
combine aliases
2022-03-19 00:27:32 +01:00
Folkert
bf063d1d57
use all aliases that are in scope (to support imported aliases)
2022-03-18 20:44:13 +01:00
Folkert
a3b00fbf55
Merge branch 'explicit-closed-tag-record' into delay-instantiating-aliases
2022-03-17 20:34:52 +01:00
Folkert
be07cbe49d
remove instrumentation
2022-03-17 19:48:35 +01:00
Folkert
0d28b5f475
disable printing of type clone count
2022-03-17 19:32:46 +01:00
Folkert
8144d7b390
the setup
2022-03-17 18:24:22 +01:00
Folkert
64287ea783
disable printing of type clone count
2022-03-16 18:38:55 +01:00
Folkert
d3c6f00c77
use custom default aliases
2022-03-16 18:35:42 +01:00
Folkert
f24bfeea99
add some aliases to file.rs
2022-03-16 18:18:45 +01:00
Folkert
b3dce7317d
hook up aliases
2022-03-15 22:23:40 +01:00
Folkert
97742b3238
clarify variable name
2022-03-13 17:59:44 +01:00
Folkert
4ef6cba23a
Merge branch 'split-types-values' into type-checking-storage-subs
2022-03-13 17:43:24 +01:00
Folkert
66676e0ab9
factor out to separate function
2022-03-13 17:15:59 +01:00
Folkert
fe72008845
remove unused module checking from Solve step
2022-03-13 17:05:32 +01:00
Folkert
496c283491
replicate unused module check after canonicalization
2022-03-13 17:03:54 +01:00
Folkert
563ba6acbb
incorporate referenced types
2022-03-13 16:57:42 +01:00
Folkert
8bc31e82c3
try to keep type and value symbols separate
2022-03-13 16:50:32 +01:00
Folkert
523032c6c9
more comments
2022-03-13 14:05:53 +01:00
Folkert
61b4ee054a
rename function
2022-03-13 13:54:03 +01:00
ayazhafiz
d7abc3897b
Parse abilities
2022-03-12 21:29:06 -06:00
Folkert
d9c3a7ddd9
get rid of unneeded field on SolvedModule
2022-03-12 14:00:51 +01:00
Folkert
b78e63ae19
rename var
2022-03-12 13:47:14 +01:00