Commit graph

951 commits

Author SHA1 Message Date
Folkert
2267a1174a introduce PhantomEmptyStruct 2020-11-08 03:08:12 +01:00
Jared Ramirez
74b09605a7
Merge branch 'trunk' into builtin-count-graphemes 2020-11-07 18:49:29 -06:00
Jared Ramirez
430666a948 Fix cargo clippy 2020-11-07 15:29:53 -06:00
Chad Stearns
5561f9787e Use Str.split bitcode with proper arguments and names 2020-11-07 02:26:59 -05:00
Chad Stearns
d41e940b7f Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-07 02:07:52 -05:00
Folkert
7cfe5efe1b Merge remote-tracking branch 'origin/trunk' into generate-effects-module 2020-11-07 00:30:23 +01:00
Folkert
cb1dff1baf cleanup 2020-11-07 00:09:45 +01:00
Jared Ramirez
14fed8e6a6 Fix cargo fmt 2020-11-06 17:03:21 -06:00
Jared Ramirez
e112a406a2 Fix countGrapheme wiring; Reorganize zig builtins; Streamline how we export zig function 2020-11-06 16:54:28 -06:00
Jared Ramirez
63308d90e1 Add Str.countGraphemes 2020-11-06 16:54:28 -06:00
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
Richard Feldman
6f4d727b6f
Merge pull request #646 from rtfeldman/add_list_contains
Add List.contains
2020-11-06 08:49:59 -05: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
lrosa007
39d5221810 pass list_elem_layout down to build_eq 2020-11-05 11:07:07 -05:00
lrosa007
82820ac4a0 no need to clone match on &list_layout 2020-11-05 09:07:02 -05:00
lrosa007
d880293afa remove match cause build_eq can tell if it can't compare the BasicEnumValues 2020-11-05 08:54:12 -05:00
lrosa007
0266754963 fix: bad double condition made no sense 2020-11-04 22:00:32 -05:00
lrosa007
deb249bdb4 llvm yells now 2020-11-04 21:56:42 -05:00
lrosa007
9269f1d8a7 feat(List): start contains function 2020-11-04 21:09:15 -05: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
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
Chad Stearns
c412a8e0db Merge in remote trunk 2020-11-01 11:38:44 -05: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
Richard Feldman
9acfa8d0d4
Merge pull request #619 from rtfeldman/str-split-bitcode
Str split bitcode
2020-10-29 20:54:56 -04: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
Chad Stearns
a9c0185225 Bringing in remote trunk 2020-10-28 21:24:15 -04:00
Jared Ramirez
242eb6f905 Build bitcode with zig 🎉 2020-10-28 09:21:56 -07:00
Jared Ramirez
48f8aad180 Compile bitcode as part of build script 2020-10-25 14:09:53 -07:00
Richard Feldman
21d4f8026e
Merge branch 'trunk' into convert-bitcode-gen-to-c 2020-10-25 14:17:17 -04:00
Richard Feldman
d0a9db06f5 Add Into instance for OptLevel 2020-10-25 01:42:10 -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
Chadtech
5287a8db7d
Merge branch 'trunk' into str-split 2020-10-24 11:20:46 -04:00
Dimitar Apostolov
9beeafb6cd WIP: str_starts_with loop 2020-10-22 23:24:35 +02:00