Commit graph

513 commits

Author SHA1 Message Date
Folkert
b146a2cf5f
fix string equality 2022-03-26 18:29:46 +01:00
Folkert
8e1e709fc1
pass all string tests 2022-03-26 18:25:20 +01:00
Folkert
8e6b1ff481
more string operations 2022-03-26 18:13:05 +01:00
Folkert
576e02ed85
Str.trim and friends 2022-03-26 18:03:53 +01:00
Folkert
57ff0e8212
step 2: Closure.roc works 2022-03-26 17:58:37 +01:00
Folkert
71c11784a0
step 1: Deriv works and has no valgrind problems 2022-03-26 17:56:56 +01:00
Folkert
baec1c2de3
use roc_load_value to move a value to the stack 2022-03-26 17:56:36 +01:00
Folkert
d669b8c894
preparation for using argument_type_from_layout 2022-03-26 14:20:59 +01:00
Folkert
84c6e741fe
rework how tags are created 2022-03-26 14:09:16 +01:00
Folkert
75c15f9b00
use roc_ helpers for box loading and storing 2022-03-26 13:10:18 +01:00
Folkert
0f3ae18c74
add debug print 2022-03-26 12:54:00 +01:00
Folkert
f132a527c0
rename a function 2022-03-26 12:52:13 +01:00
Folkert
18ba6316fb
clippy 2022-03-26 12:43:17 +01:00
Folkert
2c1879e3da
use store_roc_value when inserting into dict 2022-03-26 12:41:46 +01:00
Folkert
9528f63d87
make Dict.keys and Dict.values use list helpers for returning 2022-03-26 12:36:14 +01:00
Folkert
bff4e03867
store string literals (also the struct) as a const value 2022-03-26 12:31:03 +01:00
Folkert
6134e57921
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-18 18:13:55 +01:00
ayazhafiz
530fa9943a Generate unsigned div and modulo correctly
Closes #2705
2022-03-13 18:44:38 -05:00
Folkert
ec403958a3
cleanup 2022-03-13 00:12:57 +01:00
Folkert
8488390a9b
fix RocStr/RocList C argument passing 2022-03-13 00:12:47 +01:00
Folkert
d7a5cd7b11
some debugging niceties 2022-03-13 00:12:16 +01:00
Folkert
39792ccb93
accept output parameter as first argument 2022-03-13 00:11:57 +01:00
Folkert
f66b111c7a
create small strings with fewer instructions 2022-03-13 00:06:13 +01:00
Folkert
4e22ae57cd
make specific twice_ptr_width helper 2022-03-12 19:57:26 +01:00
Brian Carroll
456d8ff9cb Merge branch 'trunk' of github.com:rtfeldman/roc into list-str-capacity 2022-03-11 19:28:13 +00:00
Brendan Hansknecht
cdf19e3feb
Merge pull request #2698 from rtfeldman/i/2696
Make sure casting to unsigned types performs zero-extension
2022-03-10 20:10:33 -08:00
ayazhafiz
a90bba3d1d Make sure casting to unsigned types performs zero-extension
Closes #2696
2022-03-10 17:39:37 -06:00
Folkert
d222be95b3
fix another merge conflict 2022-03-10 21:38:31 +01:00
Folkert
be214b7931
fix merge conflict 2022-03-10 21:37:33 +01:00
Folkert
e90c12ba1f
Merge remote-tracking branch 'origin/trunk' into box-all-the-things 2022-03-10 18:01:09 +01:00
Folkert de Vries
7fc1272840
Merge pull request #2692 from rtfeldman/walk-return-tag
`List.walk` return tag
2022-03-10 10:12:42 +01:00
Folkert
f8ca0694e5
Revert "make type conversion work on 32-bit architectures"
This reverts commit 381ec9c01b.
2022-03-10 00:04:34 +01:00
Folkert
381ec9c01b
make type conversion work on 32-bit architectures 2022-03-09 23:10:07 +01:00
Folkert
de6349fbbd
don't double-alloca non-recursive tags 2022-03-09 22:54:56 +01:00
Folkert
29e053abf3
clarify basic_type_from_layout function 2022-03-09 19:01:03 +01:00
Folkert
5d15166bb5
rename 2022-03-09 16:33:36 +01:00
Folkert
768703c5df
update reporting; suggestions now have Box in scope 2022-03-09 16:12:11 +01:00
Folkert
07063a8e18
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-09 14:36:34 +01:00
Folkert
6543c9bbc6
Merge remote-tracking branch 'origin/trunk' into box-all-the-things 2022-03-09 00:00:15 +01:00
Folkert
4cca0b3b3c
llvm codegen 2022-03-08 22:21:03 +01:00
Folkert
92f2927046
initial implementation 2022-03-08 19:09:42 +01:00
Derek Gustafson
78cf0b8d2e
Fix fmt. 2022-03-07 15:49:09 -05:00
Derek Gustafson
ba6b225761
Hide RocDec implemntation details. 2022-03-07 15:34:02 -05:00
Folkert
b3b3b8790c
add new Expr variants 2022-03-07 21:13:48 +01:00
Folkert
3510bad1d5
add scaffolding 2022-03-07 20:55:40 +01:00
Brian Carroll
f2adf71873 Move alias analysis to its own crate instead of roc_mono
Shrinks roc_repl_wasm by 400kB (~8%)
2022-03-04 14:50:02 +00:00
Brendan Hansknecht
2ca1ebdd2d appease the paperclip 2022-02-27 15:50:19 -08:00
Brendan Hansknecht
2e70bb8458 remove list set low level 2022-02-27 15:07:09 -08:00
Brendan Hansknecht
b802d681a3 Merge remote-tracking branch 'origin/trunk' into list-replace 2022-02-27 00:28:08 -08:00
Richard Feldman
d57334dd63
Merge pull request #2566 from rtfeldman/gui-example
GUI Example
2022-02-26 07:48:38 -05:00