Commit graph

4523 commits

Author SHA1 Message Date
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
Brendan Hansknecht
d47c4616f2
switch checking for str.zig to be relative to the exectuable 2023-04-25 07:39:19 -07:00
Folkert
d56d3311d4
implement and test all regn_regn moves 2023-04-24 21:39:15 +02:00
Anton-4
36c67484b7
fix nix build 2023-04-24 16:51:47 +02:00
Anton-4
9748e4a4dc
many clippy fixes 2023-04-24 16:21:46 +02:00
J Teeuwissen
0f04cd7b0b
interner borrow 2023-04-24 14:33:41 +02:00
J Teeuwissen
7710170e68
Merge branch 'main' into symbol_tags
Signed-off-by: J Teeuwissen <jelleteeuwissen@hotmail.nl>
2023-04-24 14:19:12 +02:00
J.Teeuwissen
b5655caebc
symbol_tag 2023-04-24 14:13:06 +02:00
J.Teeuwissen
91533e1071
refactor 2023-04-24 13:10:14 +02:00
Anton-4
7bbb37a843
put lifetime back, flake fixes 2023-04-24 12:11:36 +02: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
Luke Boswell
2ff55b9704
optimise encodeString for when no escapes, add more tests various 2023-04-23 13:24:41 +10:00
Luke Boswell
eef3adcbbb
improve decodeString 2023-04-23 09:44:57 +10:00
Anton-4
6c884cf365
clippy 2023-04-22 18:27:56 +02:00
Anton-4
abf2d5760d
clippy auto fix 2023-04-22 18:25:48 +02:00
Anton-4
c6cf0b4ebe
merge fixes 2023-04-22 18:15:06 +02:00
Anton-4
937722c462
Merge branch 'main' of github.com:roc-lang/roc into rust_version_upgrade 2023-04-22 17:14:01 +02:00
Anton-4
e784baccce
rust update, nix update, clippy fixes 2023-04-22 14:51:01 +02:00
J.Teeuwissen
a0f8b50efe
Boxed 2023-04-22 14:20:48 +02:00
J.Teeuwissen
d4379ff895
Working IR 2023-04-22 13:32:38 +02:00
Folkert
4a1ade65fe
update mono tests: procs generated by glue are now no longer generated 2023-04-21 20:59:35 +02:00
Folkert
caf11e58fa
more code sharing between mono and glue 2023-04-21 20:59:35 +02:00
Folkert
b5bd0f4fb0
find extern names using the variables (not layouts) 2023-04-21 18:21:01 +02: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
Luke Boswell
ad9aadeb64
add more List.withCapacity optimisation 2023-04-21 14:28:09 +10:00
Luke Boswell
2b95731a5c
support null decoding, add optmisation for strig encoding 2023-04-21 14:24:32 +10:00
Luke Boswell
70de4b90dc
clean up complex example test, remove duplication 2023-04-21 14:05:41 +10:00
Luke Boswell
b71126b2ef
add encoding for field names, add encoding for string escapes 2023-04-21 14:00:21 +10:00
Luke Boswell
da5484941c
update record Encoding to use field map config 2023-04-21 13:28:25 +10:00
Luke Boswell
4f22b0747f
mono and update Json.fromUtf8 and Json.toUtf8 to Json.json 2023-04-21 10:57:48 +10:00
Luke Boswell
d8545d7556
add support for decoding various stragies, add complex test 2023-04-21 10:51:37 +10:00