Commit graph

3946 commits

Author SHA1 Message Date
J.Teeuwissen
362bdb97ea
using correct id 2023-04-30 16:55:08 +02:00
J.Teeuwissen
297658caba
Merge branch 'main' into symbol_tags 2023-04-30 16:35:22 +02:00
Anton-4
ff6ec21a09
Merge pull request #5324 from roc-lang/rust_version_upgrade
WIP Rust version upgrade
2023-04-29 18:01:04 +02:00
Folkert de Vries
3018ee6ec3
Merge pull request #5298 from roc-lang/externs-using-variables
find extern names using the variables (not layouts)
2023-04-29 05:44:30 +02:00
Richard Feldman
27113b5ace
Merge pull request #5342 from agu-z/agu-z/fix-list-intersperse-docs
Fix `List.intersperse` docs example
2023-04-28 23:43:39 -04:00
Agustin Zubiaga
9b5cee7633 Fix List.intersperse docs example 2023-04-28 21:33:34 -03:00
Folkert
2e6c632fb4
make only used fields pub(crate) 2023-04-28 22:08:55 +02:00
Folkert
a332d77756
reinstate test 2023-04-28 22:03:08 +02:00
Folkert
4d681821bf
use get_lambda_set helper 2023-04-28 22:01:57 +02:00
Anton-4
85dce119c7
downgrade to 1.66.1
going from 1.66.1 to 1.67.1 causes a segemntation fault in a wasm test, I expect because the size of Stmt and Expr have changed with that version.
2023-04-26 20:07:46 +02: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
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
Anton-4
a97f877f85
actually use a recent nixpkgs 2023-04-25 18:38:15 +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
Brendan Hansknecht
d47c4616f2
switch checking for str.zig to be relative to the exectuable 2023-04-25 07:39:19 -07: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
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
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
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