Commit graph

92 commits

Author SHA1 Message Date
Folkert
a072d8d1b1 fix things 2021-10-20 16:56:04 +02:00
Folkert
63b1aaad4e hook up polymorphic zig builtins 2021-10-20 16:43:39 +02:00
Folkert
78c49d3095 support intrinsics/builtins for more integer types 2021-10-19 21:41:38 +02:00
Folkert
6cc8f8624c a way forward 2021-10-18 11:09:38 +02:00
Brendan Hansknecht
d1021d652d Add StrCat support and update hello-zig to support dev backend 2021-09-24 08:31:31 -07:00
Brendan Hansknecht
1a6ca4be59 Convert layout map to store Layouts in order to avoid unsafe mangling 2021-09-21 15:27:21 -07:00
Brendan Hansknecht
1fb0c8043f Optimize away unnecessary jump right before return 2021-09-21 00:14:13 -07:00
Brendan Hansknecht
16d098da5e Add join points and tail call optimization to the dev backend. 2021-09-20 23:13:30 -07:00
Brendan Hansknecht
4487e1a3bf Fix merge tabbing bug and make clippy happy 2021-09-05 21:41:09 -07:00
Brendan Hansknecht
08aa3d31d4
Merge branch 'trunk' into gen-dev/mem 2021-09-05 21:31:05 -07:00
Brendan Hansknecht
0696044a5c Update dev backend to allow reusing stack space and using less memory 2021-09-05 21:21:44 -07:00
Folkert
12bc34f451 clippy 2021-09-05 21:23:08 +02:00
Folkert
8e7aef314a add ListLiteralElement 2021-09-05 21:23:08 +02:00
Brendan Hansknecht
ad974dd473 Add extra commentabout unsafe usage 2021-09-03 11:00:27 -07:00
Brendan Hansknecht
d9d0d0c0af Refactor dev backend to deal with layouts within specific backends. Just check constraints at high level 2021-09-03 10:54:51 -07:00
Brendan Hansknecht
0f9e735e60 Fix missed clippy warning from newer compiler 2021-08-24 19:32:24 -07:00
Brendan Hansknecht
1b401f2eca Disable failing test 2021-08-23 22:04:11 -07:00
Brendan Hansknecht
03bc61cbf8 Merge branch 'trunk' into gen-dev/records-base 2021-08-23 22:01:53 -07:00
Folkert
194918fe4b remove Invoke 2021-08-20 19:32:55 +02:00
Joshua Hoeflich
34def25b55 Cargo fmt 2021-08-15 18:14:43 -05:00
Joshua Hoeflich
1c6ac84f2f Add Num.round to dev backend 2021-08-15 17:50:07 -05:00
Brendan Hansknecht
cc1b7df06a Merge branch 'trunk' into gen-dev/records-base 2021-08-14 21:21:31 -07:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
98b4930054 rename 2021-06-21 23:14:05 +02:00
Folkert
205b168f16 rename 2021-06-21 23:02:49 +02:00
Folkert
e1af2eb7d0 add CoerceToTagId 2021-06-20 21:23:50 +02:00
Eric Correia
342d1f34c2 set up GetTagId 2021-06-20 10:54:53 -04:00
Folkert
b622202d97 rename joinpoint field 2021-06-14 21:12:24 +02:00
Anton-4
314503cf7f fixed typos, added typos checking to CI 2021-06-05 20:02:54 +02:00
Folkert
03cc96f4ed rename Rethrow -> Resume 2021-05-30 14:44:46 +02:00
Folkert
64576ddab5 add exception id to invoke/rethrow 2021-05-29 23:27:43 +02:00
Richard Feldman
595c704e88 Generate roc_alloc etc in dev_num tests 2021-05-24 21:36:27 -04:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Richard Feldman
b60988d63e
Merge branch 'trunk' into morphic-lib 2021-05-24 07:18:59 -04:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Folkert
ae5b0d8cfd remove by-pointer calls 2021-05-22 13:52:06 +02:00
Brendan Hansknecht
1a98ec290e Fix dev backend pointer bug
When using pointers as keys, new ones shouldn't get created. Always
reference an existing item.
2021-05-20 20:36:49 -07:00
Folkert
564aacc1fd Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-20 23:08:53 +02:00
Folkert
c5bd06db66 Merge remote-tracking branch 'origin/trunk' into morphic-lib 2021-05-17 19:32:58 +02:00
Richard Feldman
b3758727e5
Merge branch 'trunk' into gen-dev/div-i64 2021-05-17 00:04:14 -04:00
rvcas
92505444dd feat(gen_dev): add match case for Float64 to Backend 2021-05-16 19:10:01 -04:00
rvcas
365f1a1f7c feat(gen_dev): add build_num_abs_f64 2021-05-16 19:08:02 -04:00
Folkert
2b72f9e733 add HigherOrderLowLevel 2021-05-16 22:49:57 +02:00
Brendan Hansknecht
2fc46b8752 WIP:struct 2021-05-16 13:28:21 -07:00
Brendan Hansknecht
950d380ea0 Add records to the dev backend 2021-05-15 20:18:04 -07:00
Brendan Hansknecht
69c2b3527c Add i64 multiplication to dev backend 2021-05-15 15:04:49 -07:00
Folkert
16fe609464 remove Expr::FunctionPointer 2021-05-15 21:29:10 +02:00
Folkert
357f93a2ee store the layout of a function passed to a lowlevel 2021-05-15 20:54:26 +02:00
Folkert
8799973ffe add update mode variables 2021-05-09 01:03:29 +02:00
Richard Feldman
202a80df44 Allow upper case acronyms in clippy
This is not a big deal, and not worth changing in a bunch of places
just to appease clippy.
2021-03-25 22:55:29 -04:00