Folkert
d287eafa3a
remove F128
2022-12-14 23:28:38 +01:00
Ayaz Hafiz
1962f2045e
Remove layouts from the mono AST for expects
...
This actually isn't needed, because the backends must lookup the layout
from the environment anyway. So it's enough to lookup the symbol and
find its layout, there is no need to additionally store it.
2022-12-14 14:10:02 -06:00
Folkert
a72556b927
refactor entry point
2022-12-09 15:10:25 +01:00
Folkert
95fe9cbccd
pass the pointer to shared memory around, instead of using a global
2022-12-08 23:22:26 +01:00
Richard Feldman
8307a194e1
fix typo
2022-12-08 06:37:00 -05:00
Folkert
c9adafa04b
remove internal use of roc_send_signal
2022-12-08 12:20:55 +01:00
Ayaz Hafiz
3685ad2ed2
Ensure that llvm gen_ wrappers account different recursive pointers
...
Closes #2551
2022-12-02 13:38:32 -06:00
Ayaz Hafiz
803d7e30e3
Eliminate Stmt::RuntimeError in favor of crash
2022-11-24 14:46:53 -06:00
Ayaz Hafiz
f3a03ef6eb
Pass roc_panic msg by ref on 32 bit plats
2022-11-24 14:46:53 -06:00
Ayaz Hafiz
291615072b
Fix usages of panic
2022-11-24 14:46:53 -06:00
Ayaz Hafiz
12d013c062
Remove unneeded param
2022-11-24 14:46:53 -06:00
Ayaz Hafiz
4202352b19
Update panic tags of builtins
2022-11-24 14:46:52 -06:00
Ayaz Hafiz
a8122662c2
Return panic tag from roc_panic to test platform
2022-11-24 14:46:52 -06:00
Ayaz Hafiz
c8accc90e8
Implement user crash in llvm backend
2022-11-24 14:46:52 -06:00
Ayaz Hafiz
c7ef1668d4
Implement mono of crash
2022-11-24 14:46:51 -06:00
Ayaz Hafiz
72ff0cc800
rename default panic tag to roc panic tag
2022-11-24 14:46:51 -06:00
Ayaz Hafiz
6d851ec5e2
men i trust, lints i dont need
2022-11-24 14:46:51 -06:00
Ayaz Hafiz
4709f9a0de
roc_panic is passed a RocStr
2022-11-24 14:46:50 -06:00
Ayaz Hafiz
a9f8c2ddec
Factor out build_string_literal
2022-11-24 14:46:50 -06:00
Folkert
5cb47939e2
don't try to run dbg with roc run
2022-11-24 11:19:41 +01:00
Folkert
e44a8a9eed
print all the relevant info
2022-11-23 22:58:58 +01:00
Folkert
e7f3c6f281
inline dbg
2022-11-23 21:23:28 +01:00
Richard Feldman
36178b5f59
REVERT ME - add some debug info
2022-11-16 17:07:04 -05:00
Richard Feldman
58e672749c
Fix glue getter name synchronization
2022-11-16 17:06:21 -05:00
Folkert
5aa29c4e8b
morphic + reset/reuse
2022-11-15 22:06:09 +01:00
Richard Feldman
d3d21630e8
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2022-11-15 12:16:19 -05:00
Ayaz Hafiz
3723071c15
Collect deeply nested type names in alias analysis
...
Previously we only collected type names that appeared on the surface of
a type during alias analysis, but certain types that need to be named
(i.e. recursive types) may be observed only when we actually convert the IR
to the morphic IR. Make sure we collect those appropriately.
This is a cherry pick of the relevant changes in #4121 .
2022-11-15 09:23:28 -06:00
Folkert
031866799a
use inkwell's FunctionIterator
2022-11-13 14:51:24 +01:00
Richard Feldman
99420f65ed
Merge branch 'glue-exposed' into glue-getters
2022-11-11 17:02:27 -05:00
Folkert
bb4b55275f
fix wrong intrinsic being used
2022-11-09 19:35:59 +01:00
Folkert
653741ccde
refactor llvm lowlevel code into its own file
2022-11-09 17:40:40 +01:00
Folkert
06a49e0255
use some macros
2022-11-09 17:40:39 +01:00
Folkert
19a8b95c42
codegen getters
2022-11-06 14:56:51 +01:00
Folkert
5ae4ccad5e
refactor
2022-11-06 13:36:58 +01:00
Luke Boswell
cec67721e6
merge upstream/main
2022-11-06 09:27:46 +11:00
Luke Boswell
2c2a70b8e7
Merge remote-tracking branch 'upstream/main' into rust-docs
2022-11-06 09:15:57 +11:00
Folkert
94cc2971a3
don't use a global on the zig side (surgical linking can't do those yet)
2022-11-05 14:08:19 +01:00
Folkert
92cc120c7f
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
2022-11-05 12:21:37 +01:00
Richard Feldman
c03dc17ab4
Merge remote-tracking branch 'origin/main' into repl
2022-11-05 01:04:44 -04:00
Folkert
134de80150
various updates
2022-11-03 17:18:27 +01:00
Folkert
66a1ba00eb
1.65 clippy fixes
2022-11-03 16:20:37 +01:00
Luke Boswell
a3f901427a
correct formatting and removed duplicate image
2022-11-03 20:02:10 +11:00
Luke Boswell
f3bdb5f321
updating rust package documentation
2022-11-03 20:00:06 +11:00
Folkert
c9aedff3e8
glue getters in mono
2022-11-02 21:36:32 +01:00
Richard Feldman
220c362671
Merge remote-tracking branch 'origin/main' into repl
2022-10-31 20:49:28 -04:00
Richard Feldman
fccc2ed497
Update panic message in repl
2022-10-30 13:35:49 -04:00
Folkert
dbd0d30893
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
2022-10-30 15:57:07 +01:00
Richard Feldman
e93d9b81d8
Report repl compile errors as bugs
2022-10-30 03:19:47 -04:00
Richard Feldman
9ed13eb97b
Don't panic when repl code crashes
2022-10-30 03:14:46 -04:00
Richard Feldman
0190787f7b
Revert "send panics to the repl more gracefully"
...
Now doesn't seem like the right time to do a change this invasive.
This reverts commit a36ddbf6cb
.
2022-10-30 03:12:53 -04:00