Commit graph

669 commits

Author SHA1 Message Date
Folkert
e9ee9704f1 fix all parse errors in RBTree 2020-11-10 00:16:38 +01:00
Folkert
4e192af1b9 add RBTree.roc 2020-11-09 23:43:32 +01:00
Folkert
492f0dcc84 add Effect.always and Effect.map 2020-11-09 19:14:26 +01:00
Folkert
0d5aaf2aaa make getLine : Effect {} work 2020-11-08 23:36:08 +01:00
Folkert
1bce119b0a allow returning of funtions
e.g.

foo = Num.add
2020-11-08 15:49:24 +01:00
Folkert
c20b40a7d2 fix zero-sized closures 2020-11-08 03:08:13 +01:00
Folkert
3d092cb9b7 in theory allow non-function effects values
this does not work due to limitations with functions in tag unions
2020-11-08 03:07:59 +01:00
Folkert
2a872f180a some foundations for zero-sized values in closures 2020-11-08 01:55:06 +01:00
Folkert
2abdbaae7d improve effect example with getLine 2020-11-07 23:50:32 +01:00
Folkert
cb1895a989 add more Pkg-Config.roc files 2020-11-07 23:10:38 +01:00
Folkert
c08972cc55 add Pkg-Config.roc to the effect example 2020-11-07 22:46:27 +01:00
Folkert
40477eee82 make quicksort use a Pkg-Config.roc file 2020-11-07 22:44:06 +01:00
Folkert
bfcc74f97e move Pkg-Config.roc 2020-11-07 22:21:05 +01:00
Folkert
7c570475d8 add load_pkg_config function 2020-11-07 22:18:22 +01:00
Folkert
809f815901 change import syntax 2020-11-07 21:03:51 +01:00
Richard Feldman
61edcc7d03 Have ascii_char take a u8 2020-11-07 12:13:46 -05:00
Richard Feldman
7ba95a0bd0 Parse user-specified Effect name 2020-11-07 12:05:45 -05:00
Richard Feldman
c8b28b96fa Parse a : before each effects entry 2020-11-07 11:42:55 -05:00
Folkert
cb1dff1baf cleanup 2020-11-07 00:09:45 +01:00
Folkert
a6e39e66f1 generate signature for foreign symbols 2020-11-06 23:46:31 +01:00
Folkert
4b8392696e make effect name flexible 2020-11-06 23:15:27 +01:00
Folkert
7a8e9fe343 special hash and dedup for SolvedType 2020-11-06 23:12:47 +01:00
Folkert
7faab5d857 remove debug prints 2020-11-06 21:51:32 +01:00
Folkert
7e6724262d make after work 2020-11-06 21:48:54 +01:00
Folkert
f3ed367d97 use exposed sizes 2020-11-06 13:51:37 +01:00
Folkert
70d89478be use as Fx to expose closure caller 2020-11-06 02:08:25 +01:00
Folkert
3eb6c33ad8 ITS ALIVE!!! 2020-11-06 01:50:49 +01:00
Folkert
6e9e2f90a0 so close, so close 2020-11-06 00:16:42 +01:00
Folkert
cec0f08bef make a valid basic platform header 2020-11-05 15:41:53 +01:00
Folkert
d2a7c0e8ab add effects example 2020-11-05 15:35:15 +01:00
Folkert
42e9ab3998 Merge remote-tracking branch 'origin/trunk' into call-closures-from-host 2020-11-05 14:01:02 +01:00
Folkert
3fe0140c7e clip clip clip 2020-11-05 00:59:26 +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
4c5a5dc6a2 thread things through 2020-11-04 21:03:43 +01:00
Richard Feldman
9d3bdddca3 Add roc_app.o to .gitignore 2020-11-03 21:58:03 -05:00
Folkert
06eff10fba update hello-world 2020-11-02 01:42:04 +01:00
Folkert
6f94f7d63b update shared-quicksort 2020-11-02 01:18:49 +01:00
Folkert
a53254de40 update quicksort 2020-11-02 01:14:04 +01:00
Folkert
ebba7e0c6a cleanup 2020-11-02 01:09:34 +01:00
Folkert
5897a07962 use RocCallResult and pass-by-reference in all examples 2020-11-01 15:00:11 +01:00
Folkert
89e9549d85 use alloc/dealloc 2020-11-01 00:25:19 +01:00
Folkert
78c0a9f17d add RocCallResult wrapper 2020-11-01 00:02:01 +01:00
Folkert
95a69f5a9b add closure example that is passed to the host 2020-10-31 22:44:19 +01:00
Folkert
58467d6515 get tests back up an running 2020-10-30 16:58:53 +01:00
Brendan Hansknecht
46148f0114 Minimize work done in valgrind tests to fix ci 2020-10-22 17:11:38 -07:00
Richard Feldman
b488e5773f Add app.dSYM to .gitignore
valgrind on macOS creates this directory automatically
2020-10-18 08:46:50 -04:00
Brendan Hansknecht
270dda8d5d Add multi-module example to valgrind
This is now technically mergable, but it does not run unoptimized
quicksort.
2020-10-12 19:54:53 -07:00
Brendan Hansknecht
d4d7fc7bc6 Merge branch 'trunk' into valgrind 2020-10-12 19:44:25 -07:00
Richard Feldman
b42b20ad69
Merge branch 'trunk' into rocstr 2020-10-12 20:39:40 -04:00