Commit graph

24419 commits

Author SHA1 Message Date
Brendan Hansknecht
ae04a73d2f
add todo about storage endian 2023-04-27 07:58:07 -07:00
Brendan Hansknecht
dbbc621892
switch from assignment to using the set method for numbers 2023-04-27 07:58:06 -07:00
Brendan Hansknecht
e88d759331
Correct use of NativeEndian to LittleEndian
This should specify the endian read from and written to.
In our case, we are using elf/macho. So, the endian is always little.
2023-04-27 07:58:03 -07:00
Folkert de Vries
8a76937cff
Merge pull request #5322 from jarlah/replace-panic!-with-internal-error!-in-compiler-parse-create
Replace panic! with internal_error! in `compiler/parse` and `compiler/can`
2023-04-26 18:19:06 +02:00
Folkert de Vries
6d7e3ddc0c
Merge pull request #5326 from roc-lang/dev-backend-list-map
Dev backend list map
2023-04-26 14:06:23 +02:00
Brendan Hansknecht
8b8b80076d
Merge pull request #5332 from roc-lang/zig-glue-others
enable using other zig libaries in host instead of just str.zig
2023-04-26 09:01:49 +00:00
Brendan Hansknecht
0f4df1f677
clippy 2023-04-25 14:22:13 -07:00
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig 2023-04-25 14:14:35 -07:00
Ayaz
ffe30af216
Merge pull request #5331 from roc-lang/ayazhafiz-patch-1
Update casing of RWX in README
2023-04-25 15:38:29 -05:00
Ayaz
da9a200a72
Update casing of RWX in README
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2023-04-25 14:31:23 -05:00
Brendan Hansknecht
26a32c53fe
Merge pull request #5328 from roc-lang/str-zig-relative
switch checking for str.zig to be relative to the exectuable
2023-04-25 17:02:05 +00:00
Anton-4
7308c634f6
Merge pull request #5329 from roc-lang/tutorial-duplicate-kw
remove duplicate keyword
2023-04-25 18:06:36 +02:00
Brendan Hansknecht
e2868fa5fc
add missing import for windows 2023-04-25 09:00:56 -07:00
Brendan Hansknecht
f9f7a1a3e8
fix typo 2023-04-25 08:39:31 -07:00
Brendan Hansknecht
fbcea3f3f5
update number of relative paths to deal with tests 2023-04-25 08:32:12 -07:00
Anton-4
cac2eac6de
remove duplicate keyword
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-25 16:54:01 +02:00
Brendan Hansknecht
d47c4616f2
switch checking for str.zig to be relative to the exectuable 2023-04-25 07:39:19 -07:00
Jarl André Hübenthal
8bf888a5e6
chore: replace panic! with internal_error 2023-04-24 10:16:50 +02:00
Folkert
2e41ef68b0
cleanup 2023-04-23 20:23:35 +02:00
Folkert
b663db56f0
NumIntCast 2023-04-23 19:58:46 +02:00
Folkert
af2ab24525
simplify and fully implement comparisons 2023-04-23 19:58:31 +02:00
Folkert
cefc1c775e
add NumAddWrap 2023-04-23 18:47:50 +02:00
Folkert
8162de7eab
implement code_gen_help equality in the dev backend 2023-04-23 18:47:40 +02:00
Folkert
d99a912230
don't attempt tail recursion in dev backend 2023-04-23 18:47:17 +02:00
Folkert
dd3d0a188e
string is empty for dev backend 2023-04-23 18:16:08 +02:00
Folkert
f45e4ed858
implement Num.toStr for the dev backend 2023-04-23 18:04:34 +02:00
Folkert
f7e3254a35
unwrap lamda set to runtime representation 2023-04-23 17:56:23 +02:00
Folkert
9e2051670f
implement unboxing to the stack 2023-04-23 17:56:02 +02:00
Folkert
b59ada4bc8
implement List.map in the dev backend 2023-04-23 17:35:17 +02:00
Folkert
b62ee37d8e
fix BOOL_TRUE and BOOL_FALSE 2023-04-23 17:31:52 +02:00
Folkert
be31bc5c41
add the PtrWrite lowlevel 2023-04-23 15:19:46 +02:00
Folkert
c22f33ec8a
add support for getting a function pointer from a function symbol 2023-04-23 15:17:49 +02:00
Folkert
5a297248e2
add support for the LEA instruction 2023-04-23 15:16:06 +02:00
Richard Feldman
28146c939f
Update FAQ entry for Rank-N types
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-04-21 23:54:56 -04:00
Richard Feldman
f6221fb9e9
Merge pull request #5319 from roc-lang/clippy-fixes
Clippy fixes
2023-04-21 10:22:55 -04:00
Folkert
394495d307 Revert "update size asserts"
This reverts commit 9973d4b8d2.
2023-04-21 13:22:23 +02:00
Folkert
7af408f58d split cmd args 2023-04-21 12:10:23 +02:00
Folkert
4cd8f0a056 clippy --fix fixes 2023-04-21 12:05:51 +02:00
Folkert
9973d4b8d2 update size asserts 2023-04-21 11:57:47 +02:00
Anton-4
32fcb38a94
Merge pull request #5313 from human154/patch-4
Tutorial: Add A Table Of Roc's Keywords
2023-04-21 11:53:34 +02:00
Folkert de Vries
a3cfc70acd
Merge pull request #5315 from roc-lang/uitest-more
Migrate more solve tests to uitest
2023-04-21 09:34:51 +02:00
Luke Boswell
587cb21069
change to simple list, table wasn't working 2023-04-21 09:10:04 +10:00
Ayaz Hafiz
7797412aef
Drop unused functions 2023-04-20 17:57:18 -05:00
Ayaz Hafiz
721d3836cd
Migrate even more tests 2023-04-20 16:18:23 -05:00
Ayaz Hafiz
7c14b78e5d
Migrate more tests 2023-04-20 16:18:23 -05:00
Ayaz Hafiz
9775d4f0ca
Move uitests 2023-04-20 16:18:23 -05:00
human154
760b9bbe03
Tutorial: Add A Table Of Roc's Keywords
Signed-off-by: human154 <46430360+human154@users.noreply.github.com>
2023-04-20 14:37:18 -04:00
Brendan Hansknecht
26846e14aa
Merge pull request #5289 from Aurelius333/aarch64-float
Add some aarch64 gen_dev float instructions
2023-04-20 18:18:56 +00:00
Folkert de Vries
8c32900e19
Merge pull request #5275 from wontem/abs_diff
Implement Num.absDiff
2023-04-20 14:02:02 +02:00
Kiryl Dziamura
2633e7ed8f
Disable 128 bit test for wasm 2023-04-20 11:55:42 +02:00