Commit Graph

55 Commits

Author SHA1 Message Date
Folkert
c68cd2fb2d fix and test 2021-04-14 22:03:03 +02:00
Richard Feldman
ce6969d31f Only do the compiler_rt workaround on macOS 2021-03-14 22:31:32 -04:00
Chadtech
7d78de110b Added comptime import compiler_rt to several host.zig files 2021-03-14 22:31:32 -04:00
Folkert
a392ef2419 set the refcount of the input 2021-02-10 22:37:40 +01:00
Folkert
08338c6cc0 use zig platform for quicksort 2021-01-31 17:08:13 +01:00
Folkert
02d6e276cf update configs 2021-01-31 15:59:47 +01:00
rvcas
565cf21e1e fix(tests): need to adjust tests after changing builtin function types 2021-01-05 09:18:24 -05:00
rvcas
27cfd4d7ad more test fixes 2021-01-04 15:18:49 -05:00
Folkert
818465e8e1 update cli fixtures 2020-12-09 01:17:29 +01:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Richard Feldman
88d2ad1ffc Use roc__ prefix for exposed app functions 2020-11-23 00:24:40 -05:00
Richard Feldman
759c047b4c Add some .gitignores 2020-11-23 00:24:40 -05:00
Richard Feldman
1868051105 Allow for shorter app headers 2020-11-23 00:08:50 -05:00
Richard Feldman
a7eb568267 Fix load tests 2020-11-23 00:08:49 -05:00
Richard Feldman
ab1be6e394 Update examples 2020-11-23 00:08:49 -05:00
Folkert
acbb4c29b8 fully qualify symbols (with the module name) in generated IR 2020-11-10 20:15:59 +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
a53254de40 update quicksort 2020-11-02 01:14:04 +01:00
Folkert
5897a07962 use RocCallResult and pass-by-reference in all examples 2020-11-01 15:00:11 +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
Folkert
2df86b6438 fix uniqueness bug
builtin defs were included twice, which threw off uniqueness inference
2020-10-12 22:16:10 +02:00
Brendan Hansknecht
97c23557c7 Fix RocList memory leak
Also, reduces the number of elements in the quicksort example to make it
run better with valgrind.
2020-10-11 19:00:35 -07:00
Richard Feldman
c49912be49 Have quicksort example use cargo host and RocList 2020-10-05 22:52:50 -04:00
Richard Feldman
7e1166b3a2 Rebuild hosts automatically (for now) 2020-10-04 16:35:32 -04:00
Richard Feldman
e60796e32b Update BUILDING_FROM_SOURCE and quicksort readme 2020-10-04 16:35:23 -04:00
Richard Feldman
ad16aa61e9 Change linking back 2020-10-04 16:35:21 -04:00
Richard Feldman
d776798e32 Attempt to statically link hosts 2020-10-04 16:35:17 -04:00
Richard Feldman
f499c7b056 Simplify host building 2020-10-04 16:35:14 -04:00
Richard Feldman
ff8bb64bae Update quicksort macOS host 2020-10-04 16:34:53 -04:00
Richard Feldman
fa288a1404 Use explicit ld invocation instead of ar 2020-10-04 15:58:13 -04:00
Anton-4
01b7172085 Added troubleshooting for examples 2020-09-30 13:47:54 +02:00
Folkert
380e34d296 Merge remote-tracking branch 'origin/trunk' into tail-call-elimination 2020-08-12 15:46:50 +02:00
Richard Feldman
edafbfe525 Replace unsorted.csv with algorithm 2020-08-12 08:33:36 -04:00
Folkert
7603225fca generate return earlier, causing more TCE 2020-08-11 22:30:34 +02:00
Folkert
84a8b69437 generate IR that uses uniqueness 2020-08-11 14:47:14 +02:00
Richard Feldman
2592cf5768 Rename main to quicksort 2020-08-10 21:25:47 -04:00
Richard Feldman
35e132e6d7 Fix quicksort benchmark 2020-08-10 21:25:47 -04:00
Richard Feldman
dccb3a9691 Have Quicksort example expose a function 2020-08-10 21:25:47 -04:00
Folkert
65db338435 add test for quicksort example 2020-08-10 16:10:07 +02:00
Richard Feldman
19075b6b10 Fix quicksort host name 2020-08-09 21:27:44 -04:00
Richard Feldman
bcff8b4a57 Update examples/quicksort 2020-05-21 20:52:05 -04:00
Richard Feldman
8a4cde3961 Have quicksort example use defs 2020-04-29 06:35:25 -04:00
Richard Feldman
d4a45ed489 Add CLI subcommands roc run and roc build 2020-04-18 14:32:50 -04:00
Richard Feldman
f5c18ff4d4 Move examples' .gitignore files up a level 2020-04-16 21:19:38 -04:00
Richard Feldman
1517581ced Load main in the CLI and use it for gen 2020-04-15 07:06:11 -04:00
Richard Feldman
61f836e964 Switch examples to use app modules 2020-04-15 07:06:11 -04:00
Richard Feldman
950ca4436b Replace build.sh with cargo run 2020-04-06 23:32:47 -04:00