Richard Feldman
|
44e48e1415
|
Build Zig builtins for aarch64
|
2023-06-21 08:47:38 -04:00 |
|
Richard Feldman
|
84542b2b02
|
Drop obsolete comment
There's an open design question as to whether we want to commit
to supporting this, so dropping the comment.
|
2023-06-21 08:46:40 -04:00 |
|
Hannes
|
97fa6758d0
|
Rename trimLeft to trimStart and trimRight to trimEnd
|
2023-06-19 13:17:59 +08:00 |
|
Anton-4
|
d10d71cdec
|
Merge pull request #5549 from HajagosNorbert/builtin-docs
Add examples to the docs of builtin List functions
|
2023-06-18 11:28:19 +02:00 |
|
Kilian Vounckx
|
10c34ef326
|
Fix bitwise operations documentation
|
2023-06-17 21:33:06 +02:00 |
|
HajagosNorbert
|
4e06c09e37
|
ran roc format on changed List.roc file
|
2023-06-17 21:28:20 +02:00 |
|
HajagosNorbert
|
892d5e2c78
|
Merge branch 'main' into builtin-docs
|
2023-06-17 21:25:25 +02:00 |
|
Kilian Vounckx
|
5512dd9675
|
Add documentation for bitwise functions
|
2023-06-17 20:25:36 +02:00 |
|
Kilian Vounckx
|
402a89237d
|
Add Num.bitwiseNot function
|
2023-06-17 20:08:33 +02:00 |
|
Kilian Vounckx
|
ab0969f7bb
|
Add fractional constants
|
2023-06-15 20:31:17 +02:00 |
|
Anton-4
|
c8ebe9071c
|
Box.roc documentation
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
|
2023-06-14 11:09:37 +02:00 |
|
HajagosNorbert
|
fe2e175d0f
|
add examples to builtin List
|
2023-06-13 20:12:32 +02:00 |
|
HajagosNorbert
|
232e9030ae
|
Add docs to List.get with example
|
2023-06-13 20:12:29 +02:00 |
|
Fábio Beirão
|
d7f03a680e
|
Run roc format on builtins
Contributes to #5533
|
2023-06-09 16:07:14 +02:00 |
|
Fábio Beirão
|
ec94fc87a5
|
Add Num.min and Num.max
Implements #5533
|
2023-06-09 14:17:54 +02:00 |
|
Luke Boswell
|
092676c4b7
|
Merge remote-tracking branch 'remote/main' into remove-json
|
2023-06-07 15:38:01 +10:00 |
|
Luke Boswell
|
d9a5fe9034
|
roc format
|
2023-06-04 18:24:14 +10:00 |
|
Luke Boswell
|
c1ff49be6c
|
change just Json module name
|
2023-06-04 17:37:01 +10:00 |
|
Brendan Hansknecht
|
829b71aa1f
|
fully take ownership of memcpy in the builtins
|
2023-06-03 19:05:19 -07:00 |
|
Brendan Hansknecht
|
a745b57fb2
|
move cpuid functions into separate assembly file
|
2023-06-02 16:16:40 -07:00 |
|
Brendan Hansknecht
|
b899b54354
|
change assembly comment style to hopefully fix windows
|
2023-06-02 15:54:08 -07:00 |
|
Brendan Hansknecht
|
341ef9bb7b
|
prefix assembly functions with _ on macos
|
2023-06-02 15:26:39 -07:00 |
|
Brendan Hansknecht
|
60babcc56e
|
fix typo
|
2023-06-02 15:23:07 -07:00 |
|
Brendan Hansknecht
|
7b8bd988d4
|
change to more specific .balign assembly attribute
|
2023-06-02 15:23:06 -07:00 |
|
Brendan Hansknecht
|
60e70c6b1b
|
add workaround for wasm tests
|
2023-06-02 15:23:06 -07:00 |
|
Brendan Hansknecht
|
8eed06c3e1
|
avoid repeated calls to cpuid, it is slow
|
2023-06-02 15:23:06 -07:00 |
|
Brendan Hansknecht
|
718b7f0ce2
|
setup memcpy dispatch on every call for now
|
2023-06-02 15:23:06 -07:00 |
|
Brendan Hansknecht
|
75a035e12d
|
remove all definitions of roc_memcpy
|
2023-06-02 15:23:05 -07:00 |
|
Brendan Hansknecht
|
ebc6bd3f45
|
add more impls and memcpy
|
2023-06-02 15:23:05 -07:00 |
|
Brendan Hansknecht
|
0e2c3e4723
|
add actual folly implementation of memcpy
|
2023-06-02 15:23:05 -07:00 |
|
Brendan Hansknecht
|
77624f627b
|
better extract musl lib
|
2023-06-02 15:23:05 -07:00 |
|
Brendan Hansknecht
|
159f95aad1
|
add musl memcpy and avx2 dispatching
|
2023-06-02 15:23:04 -07:00 |
|
Brendan Hansknecht
|
ca9938bf7c
|
add memcpy impl to builtins
|
2023-06-02 15:23:04 -07:00 |
|
Brendan Hansknecht
|
58067f936a
|
Merge pull request #5466 from KilianVounckx/list-update
Add List update function
|
2023-06-02 09:03:22 +00:00 |
|
Folkert de Vries
|
e59404b6fa
|
Merge pull request #5495 from roc-lang/dev-backend-nullable-wrapped
Dev backend nullable wrapped
|
2023-06-01 17:11:14 +02:00 |
|
KilianVounckx
|
8b85f966fd
|
Merge branch 'roc-lang:main' into list-update
|
2023-06-01 11:16:33 +02:00 |
|
Brendan Hansknecht
|
7683c5ae53
|
Stop using llvm instrinsics that just call libc
In a future PR. I will change zig to insure that all of these instrinsics
use musl directly and do not call out to the linked libc.
|
2023-05-31 20:00:04 -07:00 |
|
Folkert
|
f6fafdb019
|
nullable unwrapped for the dev backend
|
2023-06-01 00:02:38 +02:00 |
|
Anton-4
|
f6b76f2df5
|
Num.exp is Num.pow now
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
|
2023-05-31 15:28:31 +02:00 |
|
Brendan Hansknecht
|
e7906b30a9
|
add other compiler-rt functions in builtins.o
|
2023-05-30 14:38:10 -07:00 |
|
Brendan Hansknecht
|
fe4577ce4c
|
fix typo
|
2023-05-30 09:38:30 -07:00 |
|
Brendan Hansknecht
|
81e8812f38
|
Add all fns in compiler-rt that builtins are known to depend on
Also removes the workaround in the surigical linker.
This should mean we should get clear errors if we missed a function instead of crashes/segfaults.
|
2023-05-30 09:21:59 -07:00 |
|
KilianVounckx
|
c22a9ef8b5
|
Merge branch 'roc-lang:main' into list-update
|
2023-05-30 08:54:26 +02:00 |
|
Brendan Hansknecht
|
fa57788c09
|
Merge pull request #5460 from roc-lang/dict-tuple
switch Dict to real tuples
|
2023-05-29 15:00:38 +00:00 |
|
Kilian Vounckx
|
8371c060a0
|
Expose update function
|
2023-05-29 10:14:01 +02:00 |
|
Brendan Hansknecht
|
0e28423aea
|
fix segfault in Num.toStr for Dec
|
2023-05-28 20:37:32 -07:00 |
|
Kilian Vounckx
|
8dee7aeab3
|
Add List update function with tests and documentation
|
2023-05-28 20:36:27 +02:00 |
|
Brendan Hansknecht
|
e8952dfc71
|
switch Dict to real tuples
|
2023-05-26 15:39:42 -07:00 |
|
Ayaz Hafiz
|
3585d5bb5b
|
Implement hash for Dec
|
2023-05-26 11:38:30 -05:00 |
|
Brendan Hansknecht
|
0b475ae979
|
Merge pull request #5445 from roc-lang/dict-pseudo-seed
Seed Dict and Set
|
2023-05-26 16:19:15 +00:00 |
|