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 |
|
J.Teeuwissen
|
74f2b0afda
|
Updated refcount logic
|
2023-04-26 18:14:16 +02:00 |
|
J.Teeuwissen
|
0fe94cbd90
|
cleanup dead code
|
2023-04-26 17:28:48 +02:00 |
|
Brendan Hansknecht
|
44a1b5d41f
|
fix warning when linking
|
2023-04-26 08:24:35 -07:00 |
|
J.Teeuwissen
|
ed46a1f2cb
|
lowlevel isUnique
|
2023-04-26 17:23:10 +02:00 |
|
J.Teeuwissen
|
2435bdb41a
|
added a wasm check
|
2023-04-26 17:21:19 +02:00 |
|
Brendan Hansknecht
|
b26fc9f1af
|
make wasm32-wasi default target given zig bug is fixed
|
2023-04-26 07:43:12 -07:00 |
|
Brendan Hansknecht
|
dd8914a75c
|
corret CodeGenBackend::Wasm to only be dev wasm backend
|
2023-04-26 07:29:32 -07:00 |
|
Folkert
|
2e3c915780
|
128-bit min/max
|
2023-04-26 14:39:40 +02:00 |
|
Folkert
|
dd85f51745
|
actually expose Num.rem
|
2023-04-26 14:32:17 +02:00 |
|
Folkert
|
9bdf9e4b99
|
make mov between different-sized registers more robust
|
2023-04-26 14:28:40 +02:00 |
|
Folkert
|
17fde9dd9d
|
complete unbox_to_stack
|
2023-04-26 14:25:00 +02:00 |
|
Folkert
|
43624ade27
|
assembly for irem and urem
|
2023-04-26 14:16:24 +02:00 |
|
Folkert
|
74444d2883
|
128-bit mul and shift in dev backend
|
2023-04-26 14:10:17 +02:00 |
|
Folkert
|
e8532c2f3c
|
rename some temporary symbol usages
|
2023-04-26 14:09:10 +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 |
|
Folkert
|
312fb23567
|
add zig builtins for wrapped mul and shift right (for 128-bit ints)
|
2023-04-26 14:03:50 +02:00 |
|
J.Teeuwissen
|
e12730ba88
|
drop specialization for union
|
2023-04-26 13:46:14 +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 |
|
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 |
|
Anton-4
|
6c884cf365
|
clippy
|
2023-04-22 18:27:56 +02:00 |
|