Richard Feldman
8bcc815661
Merge pull request #3128 from rtfeldman/multi-arch-bindgen
...
Multi-arch bindgen
2022-05-24 13:26:29 -04:00
Richard Feldman
0f140facda
Merge pull request #3127 from rtfeldman/www
...
Sync up changes from #3041
2022-05-24 13:00:02 -04:00
Richard Feldman
fb5f30e5ed
Rename Arm to Aarch32, fix some of its code gen
...
As far as I can tell, Aarch32 only supports 32-bit
registers, so its pointers should be 4 bytes and
its F64 alignment should be 4 bytes as well
(because it's emulated in software).
2022-05-24 12:08:08 -04:00
Richard Feldman
4eec34becf
Update to use new square brace formatting
2022-05-22 23:15:54 -04:00
Sean Hagstrom
c53f6cf2fe
formatter: remove spaces at the beginning and end of single-line square bracket expressions
2022-05-22 14:06:34 +01:00
Richard Feldman
4f43210218
Use target_info for discriminant alignment
2022-05-20 23:36:55 -04:00
Ayaz Hafiz
935ae50dd4
Format Encode
2022-05-19 18:21:45 -04:00
ayazhafiz
355b573695
Format Json
2022-05-19 18:21:44 -04:00
Ayaz Hafiz
1beb0551cb
Expose ability names
2022-05-19 18:21:42 -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
47c9959786
Cleanup JSON module
2022-05-19 18:21:39 -04:00
Ayaz Hafiz
fa14d0d746
Scaffold JSON
2022-05-19 18:21:39 -04:00
Ayaz Hafiz
8119dc25ff
Scaffold Encode module
2022-05-19 18:21:39 -04:00
Sean Hagstrom
08777434b6
formatter: support removing blank lines between all when branches in when expressions
2022-05-19 09:26:04 +01:00
Ayaz Hafiz
50769b81e6
Format other stdlib modules
2022-05-18 15:40:02 -04:00
Ayaz Hafiz
f2eb87a524
Format Dict
2022-05-18 15:32:36 -04:00
Ayaz Hafiz
4cb828987e
Format Box
2022-05-18 15:27:39 -04:00
Ayaz Hafiz
e293a8d4fa
Format Num, Str and fix off-by-one bug
2022-05-18 15:26:21 -04:00
Ayaz Hafiz
521f1e2c6c
Format bool builtins
2022-05-18 14:31:44 -04:00
Anton-4
0f59f3097a
cargo fix --edition
2022-05-16 17:04:17 +02:00
Mfon Eti-mfon
c46e493c89
Fix typos
2022-05-15 22:40:43 +01:00
Brian Carroll
6a91e66192
Delete env var NO_ZIG_INSTALLED since Zig is now installed on Netlify
2022-05-15 12:57:37 +01:00
Folkert
8c4b574e48
remove type def for maxFloat; could only be used by expr2, and it isn't so this is safe
2022-05-09 22:56:09 +02:00
Richard Feldman
df7df4ccf8
Merge branch 'trunk' into mfonism/rename-num-float-type-to-frac
2022-05-08 20:54:33 -04:00
Richard Feldman
c7037db6d5
Merge pull request #3013 from rtfeldman/hostgen
...
Introduce bindgen CLI
2022-05-08 17:51:20 -04:00
Mfon Eti-mfon
9068c2414e
Rename float functions and vars
2022-05-08 18:42:12 +01:00
Mfon Eti-mfon
de7fe31289
Update the Num builtin
2022-05-08 16:45:03 +01:00
Mfon Eti-mfon
85c622b169
Update symbols definition
2022-05-08 15:54:34 +01:00
Richard Feldman
36f64d8496
Merge remote-tracking branch 'origin/trunk' into hostgen
2022-05-07 18:49:25 -04:00
Folkert
81caa96af2
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-05-07 19:38:04 +02:00
Richard Feldman
b9dbfa8c33
Always use 16B alignment for 128-bit ints
2022-05-07 10:52:31 -04:00
Richard Feldman
4763e828b7
Don't use mem::align_of in code generation!
...
See the comments added in this commit for the reason.
2022-05-07 10:28:19 -04:00
Folkert
07383e96f0
Merge remote-tracking branch 'origin/trunk' into i/2792
2022-05-06 20:17:53 +02:00
Folkert
64b633bea6
make round return an integer
2022-05-06 20:17:40 +02:00
Richard Feldman
a5ffb216c8
Merge pull request #3006 from rtfeldman/nunocf/migrating-docs
...
Migrating docs
2022-05-06 11:35:05 -04:00
Nuno Ferreira
2c29a46968
removed code example as it was breaking CI
2022-05-06 15:18:07 +02:00
Folkert
5755475b3a
add ListIsUnique lowlevel operation
2022-05-06 13:56:35 +02:00
Nuno Ferreira
a46555d14c
Fixed mistake when porting over List docs
2022-05-06 12:02:57 +02:00
Nuno Ferreira
6e69349dc0
Migrated Dict
2022-05-06 11:26:24 +02:00
Nuno Ferreira
c0b04e2800
Migrated builtins/docs/Result.roc docs over to builtins/roc/Result.roc
2022-05-06 11:13:19 +02:00
Nuno Ferreira
a4b0664d16
Migrated List.roc docs over to builtins/roc/List.roc
2022-05-06 10:59:58 +02:00
Nuno Ferreira
92a691ad0f
Migrated Str
2022-05-06 00:40:53 +02:00
Nuno Ferreira
53f9de3180
Revert "Moved over all Str functions that are still the same"
...
This reverts commit a0ec98f36a
.
2022-05-06 00:29:59 +02:00
Nuno Ferreira
ea2a6bfb29
Migrated Set
2022-05-06 00:27:43 +02:00
Nuno Ferreira
a0ec98f36a
Moved over all Str functions that are still the same
...
There's a few which seem to have been removed but some docs remained.
I read through them and thought they didn't make sense to migrate as the
types changed. Please let me know if this is correct.
Deleted old Str.roc file
2022-05-06 00:18:29 +02:00
Anton-4
f3493850bb
Merge pull request #2983 from rtfeldman/wasi-libc-sys
...
Build WASI libc using Zig, instead of using a checked-in binary
2022-05-05 09:40:46 +02:00
Brian Carroll
dd1d49db75
Build WASI libc using Zig, instead of using a checked-in binary
2022-05-03 08:00:58 +01:00
Richard Feldman
b05259d870
Don't try to autolink to Num from Bool
...
This doesn't work because it would be a cyclic import
2022-05-02 19:44:42 -04:00
Richard Feldman
85e5931ce3
s/bytes/bits where appropriate
2022-05-02 15:16:31 -04:00