Commit Graph

502 Commits

Author SHA1 Message Date
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
Brendan Hansknecht
39d070e543 flip platform flag to be default 2022-02-25 20:10:36 -08:00
Brendan Hansknecht
7c6c9b52a9 Merge remote-tracking branch 'origin/trunk' into list-replace 2022-02-25 07:35:00 -08:00
Richard Feldman
a49b66e379
Merge branch 'trunk' into gui-example 2022-02-25 08:22:36 -05:00
Brendan Hansknecht
116b585cdc add more tests 2022-02-24 22:59:47 -08:00
Brendan Hansknecht
badad1c1ad get basic tests passing 2022-02-24 22:50:28 -08:00
Brendan Hansknecht
889b189191 fix list passing 2022-02-24 22:46:50 -08:00
Brendan Hansknecht
aff962809b call ListReplace and generate struct afterwards 2022-02-24 22:33:36 -08:00
Brendan Hansknecht
dddf8ff785 switch from pair to record and change name to ListReplaceUnsafe 2022-02-24 20:41:26 -08:00
Brendan Hansknecht
27b47713aa Add some comments and TODOs 2022-02-24 20:40:45 -08:00
Brendan Hansknecht
ba2e8cd32b Add base piping for list.Replace 2022-02-24 17:58:56 -08:00
Brendan Hansknecht
69b4e78ac7 Add --opt-size and compiling smaller binaries 2022-02-24 15:39:50 -08:00