Folkert
e9f7427c67
fix some things in Num
2022-04-08 20:24:17 +02:00
Folkert
4dafe08544
better debug messages
2022-04-08 19:51:20 +02:00
Folkert
ffd4566c29
remove code that saves Subs to a .dat file (it's located elsewhere now)
2022-04-08 19:51:05 +02:00
Folkert
795e24245c
generate all modules on this branch
2022-04-08 19:50:25 +02:00
Folkert
b7eacbf120
some tweaks to the builtin roc code
2022-04-08 19:35:26 +02:00
Folkert
0ccc5f8105
fix module names in builtin roc code
2022-04-08 18:55:41 +02:00
Ayaz
69ed0b755a
Merge pull request #2804 from rtfeldman/abilities-canonicalization
...
Basic canonicalization, error checking for abilities
2022-04-08 12:00:23 -04:00
Richard Feldman
b777b88e1c
Drop unused arguments
field from ZeroArgumentTag
2022-04-08 11:53:16 -04:00
Richard Feldman
45b5df3a23
Extract constrain_tag helper function
2022-04-08 11:52:57 -04:00
Brian Carroll
2f654ca6dd
wasm: more meaningful error when NameSection is missing
2022-04-08 16:52:36 +01:00
Brian Carroll
90cd644671
test_gen: update wasm build command for zig 0.9
2022-04-08 16:44:28 +01:00
Brian Carroll
024fd81a0b
Further improve zig wasm builtins test script
2022-04-08 16:38:46 +01:00
Brian Carroll
b96c9aa61a
Fix signature of roc_memcpy in wasm test platform
2022-04-08 16:38:22 +01:00
Brian Carroll
365904521a
wasm: switch Zig calling convention to v0.9
2022-04-08 15:56:24 +01:00
Folkert
1d81dd6c8b
add import to Str.roc
2022-04-08 16:49:38 +02:00
Folkert
d6632981c8
update Num.roc
2022-04-08 16:47:17 +02:00
Brian Carroll
a2f714234a
Make Zig wasm test script more robust
2022-04-08 15:14:58 +01:00
Folkert
beee95f83c
parse the header of builtins too
2022-04-08 16:02:30 +02:00
Folkert
1d0f9e9192
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc
2022-04-08 15:47:11 +02:00
Ayaz
33a5fc65ce
Update comment
2022-04-08 08:50:31 -04:00
Folkert
f587c3b49c
update zig wasm test runner script
2022-04-08 14:33:10 +02:00
Richard Feldman
8322ed95ed
Merge pull request #2806 from rtfeldman/toF32
...
Num.toF32/toF64 for LLVM backend
2022-04-08 08:28:07 -04:00
Folkert
77c9bc193b
Merge remote-tracking branch 'origin/update_zig_09' into update_zig_09
2022-04-08 13:08:04 +02:00
Folkert
9d040e8203
zig 0.9 change
2022-04-08 13:04:50 +02:00
Folkert
b66e027190
clippy
2022-04-08 13:04:38 +02:00
Folkert
8d8365233e
cast from bitpacked to struct
2022-04-08 13:03:35 +02:00
Folkert
90e90b3b22
fix dec equality
2022-04-08 13:03:19 +02:00
Folkert
e1f13860bd
pass Dec as two separate i64's
2022-04-08 11:57:54 +02:00
Folkert
7e0c44b955
fix Dict.get
2022-04-08 11:30:51 +02:00
ayazhafiz
94a5cd3559
Improve shadow errors
2022-04-07 22:38:20 -04:00
ayazhafiz
02e1a98cac
Remove redundant member
2022-04-07 22:19:30 -04:00
ayazhafiz
1efe3e9929
Fix typo
2022-04-07 21:11:19 -04:00
ayazhafiz
134a7bf787
Update wasm implementation
2022-04-07 21:10:22 -04:00
ayazhafiz
304a32ef0a
Typo
2022-04-07 20:51:21 -04:00
Richard Feldman
bfb7bb3874
Update comment
2022-04-07 18:36:33 -04:00
Ayaz Hafiz
4029748bdf
Fix llvm type errors for float functions
...
Closes #2792
2022-04-07 18:17:29 -04:00
Ayaz Hafiz
17b3c7d8ee
Generate type variables when there are lots
...
Closes #2797
2022-04-07 17:49:48 -04:00
Ayaz Hafiz
1edbe32252
Fix parse tests
2022-04-07 17:22:05 -04:00
Ayaz Hafiz
1ca3dad1e2
Allow complicated return type
2022-04-07 17:21:17 -04:00
Ayaz Hafiz
73bfff699f
Handle symbols that shadow ability member definitions
...
Just add the shadowing symbol for now. We'll handle checking that a
specialization's type matches the member's type definition in a later
pass, during typechecking.
2022-04-07 17:21:17 -04:00
Ayaz Hafiz
884d07344e
Clippy
2022-04-07 17:21:17 -04:00
Ayaz Hafiz
66ec1b4a84
Basic canonicalization and error checking for abilities
2022-04-07 17:21:17 -04:00
Richard Feldman
6adaf0905e
Fix missing * in type annotation
2022-04-07 16:29:17 -04:00
Richard Feldman
4dc7e61f3f
Move conversion tests to test_gen
2022-04-07 16:27:01 -04:00
Richard Feldman
a4233ad661
Add LLVM implementation for toF32/64
2022-04-07 16:13:58 -04:00
Richard Feldman
cd00a98636
Add toF32/64 and checked versions
2022-04-07 16:13:57 -04:00
Richard Feldman
bd623d65bc
Formatting whitespace
2022-04-07 16:13:57 -04:00
Ayaz
23bc8aab49
Merge pull request #2805 from rtfeldman/type-vs-value-defs
...
Split up Defs into TypeDef and ValueDef
2022-04-07 14:04:05 -04:00
Ayaz Hafiz
a12e40a310
Specialize polymorphic values before binding to pattern
...
Closes #2811
2022-04-07 14:03:29 -04:00
Ayaz Hafiz
2973987687
Update darwin targets
2022-04-07 09:17:20 -04:00