Commit graph

732 commits

Author SHA1 Message Date
Folkert
a6e39e66f1 generate signature for foreign symbols 2020-11-06 23:46:31 +01:00
Folkert
7e6724262d make after work 2020-11-06 21:48:54 +01:00
Folkert
3eb6c33ad8 ITS ALIVE!!! 2020-11-06 01:50:49 +01:00
Folkert
035444fb81 hit a linker error, finally 2020-11-06 00:05:41 +01:00
Folkert
4c3f0a5002 get foreign call compiling (but not working) 2020-11-06 00:00:47 +01:00
Folkert
3fe0140c7e clip clip clip 2020-11-05 00:59:26 +01:00
Folkert
f07e69ad87 wrap closure call result in RocCallResult 2020-11-05 00:43:13 +01:00
Folkert
c3090cf9d7 attempt to wrap closure call result in RocCallResult 2020-11-05 00:23:53 +01:00
Folkert
0289fe37a5 make it actually work 2020-11-05 00:02:49 +01:00
Folkert
cb28e533b8 so close 2020-11-04 23:07:02 +01:00
Folkert
2cf7a9fe42 fix tests 2020-11-03 20:13:38 +01:00
Folkert
212f8b4d50 change test runners to use new error reporting stuff 2020-11-03 19:36:02 +01:00
Folkert
89e01c63d1 make Num.maxInt and Num.minInt work 2020-11-02 21:49:44 +01:00
Folkert
841d696e6d cleanup 2020-11-02 20:28:12 +01:00
Folkert
cb0bfa3eb7 Merge remote-tracking branch 'origin/trunk' into multi-dep-bugs 2020-11-02 15:52:44 +01:00
Folkert de Vries
75ccb650e0
Merge branch 'trunk' into host-pass-by-pointer 2020-11-02 01:46:38 +01:00
Folkert
ebba7e0c6a cleanup 2020-11-02 01:09:34 +01:00
lrosa007
bd696e1f6f feat(builtins): Num.asin : Float -> Float 2020-11-01 09:54:00 -05:00
lrosa007
4da2d7f101 feat(builtins): Num.acos : Float -> Float 2020-11-01 09:27:42 -05:00
Folkert
5897a07962 use RocCallResult and pass-by-reference in all examples 2020-11-01 15:00:11 +01:00
Richard Feldman
a6b57aea87 Add more diagnostic info to a panic 2020-10-31 21:34:34 -04:00
Folkert
78c0a9f17d add RocCallResult wrapper 2020-11-01 00:02:01 +01:00
Folkert
27598f6e78 expose values to the host in a new way 2020-10-31 22:44:35 +01:00
Folkert
51506c11cb Merge remote-tracking branch 'origin/trunk' into fix-alias-inference 2020-10-30 22:45:52 +01:00
Richard Feldman
9acfa8d0d4
Merge pull request #619 from rtfeldman/str-split-bitcode
Str split bitcode
2020-10-29 20:54:56 -04:00
Folkert
f758958d4a deliberately don't run some tests in opt mode 2020-10-30 01:44:54 +01:00
Jared Ramirez
08b78e9c9b Follow Zig conventions; Update zig bitcode export fn names; Update rust
to use bitcode fn name consts;
2020-10-29 15:43:22 -07:00
Pit Capitain
233979468b Merge branch 'trunk' into fix-walk-right 2020-10-29 17:45:46 +01:00
Pit Capitain
3f91bd4b23 Fix bug in List.walkRight accumulator types 2020-10-29 16:31:07 +01:00
Pit Capitain
c8e1937ebe Add failing tests for bug in List.walkRight
List.walkRight currently can't handle accumulators that aren't integers,
for example strings or records.
2020-10-29 16:29:31 +01:00
Folkert
a0c8915678 Merge remote-tracking branch 'origin/trunk' into fix-alias-inference 2020-10-29 14:40:55 +01:00
Jared Ramirez
242eb6f905 Build bitcode with zig 🎉 2020-10-28 09:21:56 -07:00
Folkert
ef1cee6c41 HUGE WIP 2020-10-28 01:13:04 +01:00
Folkert
5fbcfe18d3 new recvar design 2020-10-26 16:16:01 +01:00
Folkert
7d2cc3aac2 WIP 2020-10-25 22:16:27 +01:00
Jared Ramirez
48f8aad180 Compile bitcode as part of build script 2020-10-25 14:09:53 -07:00
Jared Ramirez
6253ac15e4 Use differnt atan test based on os 2020-10-25 12:11:23 -07:00
Folkert
b4a9ffdccd tests as they currently pass 2020-10-25 19:24:49 +01:00
Richard Feldman
21d4f8026e
Merge branch 'trunk' into convert-bitcode-gen-to-c 2020-10-25 14:17:17 -04:00
Richard Feldman
17b2eebcfc REVERT THIS! Temporarily disable exception tests.
These currently break on Linux, but pass on macOS.

They worked fine with JITExecutionEngine on Linux,
but JITExecutionEngine failed on macOS.
2020-10-25 01:42:10 -04:00
Richard Feldman
3d7a265c5f Load a dynamic library in the repl 2020-10-25 01:42:10 -04:00
Richard Feldman
14c8a00f9d Don't link Scrti.o when doing dynamic linking 2020-10-25 01:42:10 -04:00
Richard Feldman
ac46d84c60 use RelocMode::PIC 2020-10-25 01:42:10 -04:00
Richard Feldman
468deebaa3 Clean up dummy test 2020-10-25 01:42:10 -04:00
Richard Feldman
737eee874f Fix tests 2020-10-25 01:42:10 -04:00
Richard Feldman
d0a9db06f5 Add Into instance for OptLevel 2020-10-25 01:42:10 -04:00
Richard Feldman
b4377d4d67 Get a basic dylib linking started 2020-10-25 01:41:55 -04:00
Jared Ramirez
d82d6b6fe9 Convert builtins to C 2020-10-24 12:22:51 -07:00
Richard Feldman
e8f1201937 Use libloading to load dylibs 2020-10-24 12:01:34 -04:00
Folkert
75332bd109 re-enable tests 2020-10-21 13:47:23 +02:00