Commit graph

86 commits

Author SHA1 Message Date
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
Richard Feldman
a2d538f347 Update build.sh to no longer need gcc 2020-04-06 20:56:42 -04:00
Richard Feldman
2fddff624e .gitignore the qs binary 2020-04-05 09:36:11 -04:00
Richard Feldman
b48f18ad7d Fail fast in build.sh 2020-04-05 09:35:57 -04:00
Richard Feldman
b61a4466de Make qs.roc actually run quicksort 2020-04-05 09:31:52 -04:00
Richard Feldman
a4a53c8e83 Add quicksort example 2020-04-05 09:28:49 -04:00