Commit graph

489 commits

Author SHA1 Message Date
Folkert
c7b251d6b4 Merge remote-tracking branch 'origin/trunk' into gen-modules 2020-10-08 01:29:32 +02:00
Brendan Hansknecht
f73a6c0da4 Merge branch 'trunk' into valgrind 2020-10-07 15:35:58 -07:00
Richard Feldman
f499c7b056 Simplify host building 2020-10-04 16:35:14 -04:00
Richard Feldman
26dfa01205 Extract target triple and linking logic 2020-10-04 16:34:11 -04:00
Richard Feldman
8fe5b70fb5 Clean up roc_app.o after building 2020-10-04 16:34:06 -04:00
Richard Feldman
9741784604 Link precompiled hosts on Linux 2020-10-04 16:33:58 -04:00
Richard Feldman
fa288a1404 Use explicit ld invocation instead of ar 2020-10-04 15:58:13 -04:00
Brendan Hansknecht
06073f6692 Make leakedbytes and leakedblocks optional 2020-09-30 19:03:38 -07:00
Brendan Hansknecht
46a03e7cd5 Fail tests on any valgrind memory errors
I currently don't like how the xml is parsed. It is definitely
functional, but it is very strange. Serde is not made to deal with a
list of fields with the same name that aren't next to eachother in the
xml.
2020-09-30 09:43:52 -07:00
Brendan Hansknecht
fbce5145c1 Run cli tests with valgrind 2020-09-29 21:21:07 -07:00
Richard Feldman
8395044ce6 Improve error reporting in cli_run tests 2020-09-26 23:00:55 -04:00
Folkert de Vries
2457042989
Merge branch 'trunk' into num-add-wrap-check 2020-09-21 23:58:05 +02:00
Folkert
fb4a796e07 add different variants of addition 2020-09-21 23:38:10 +02:00
Richard Feldman
d83e21f258 Clean up some dbg calls 2020-09-19 22:51:11 -04:00
Richard Feldman
b50483eedf Use rtfeldman/inkwell release2 tag 2020-09-19 22:48:29 -04:00
Folkert
16fc5dd497 Merge remote-tracking branch 'origin/trunk' into exception-handling 2020-09-19 21:50:57 +02:00
Folkert
be6752542b update to run on our fork of inkwell again 2020-09-19 21:50:33 +02:00
Folkert
9a0a13646f fix repl 2020-09-19 01:46:14 +02:00
Folkert
14da3906da wip 2020-09-18 01:07:53 +02:00
Richard Feldman
5d3645350d Merge remote-tracking branch 'origin/trunk' into small-str 2020-09-16 02:23:06 -04:00
Richard Feldman
18ecd70dff Add small string support to REPL 2020-09-16 02:03:34 -04:00
Brendan Hansknecht
439c96b823 Split roc_cli into binary and lib
Splitting into binary and lib enables using the lib in tests.
main.rs is now a thin wrapper around the lib. In the future, the exact
code split should potentialy be changed so that main.rs does all arg
parsing and then calls into the lib with fully unwrapped parameters.
2020-09-14 16:34:50 -07:00
Folkert
ee017084f7 return 3-element records 2020-09-14 21:56:57 +02:00
Chad Stearns
a318253d48 small str implementation in string literal, and bringing in remote trunk 2020-09-09 21:53:38 -04:00
Richard Feldman
070154e97b Shorten the repl greeting a bit. 2020-08-31 23:50:27 -04:00
Richard Feldman
7682e09b0a Fix some fmt stuff 2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a Get things compiling 2020-08-31 23:13:50 -04:00
Richard Feldman
85110b7b9c Support case-insensitive :exit in repl 2020-08-31 17:28:43 -04:00
Richard Feldman
3c8c41c145 Clipster 2020-08-24 00:03:12 -04:00
Richard Feldman
5288171c0b Disable some tests that are blocked on #295 2020-08-24 00:03:12 -04:00
Richard Feldman
202b5ae4ee Add a comment 2020-08-24 00:03:12 -04:00
Richard Feldman
712ea2e1dc Support structs on 32-bit targets 2020-08-24 00:03:12 -04:00
Richard Feldman
e35bbe61bf Expand repl tests for float records 2020-08-24 00:03:12 -04:00
Richard Feldman
da9602aef2 Implement floats in nested records 2020-08-24 00:03:12 -04:00
Richard Feldman
00f23be32c Implement ints in nested records 2020-08-24 00:03:12 -04:00
Richard Feldman
c5f5bb1bef Use sorted field names for printing records 2020-08-24 00:03:12 -04:00
Richard Feldman
2934864df3 Extract some logic to cli::repl::eval 2020-08-23 22:06:44 -04:00
Richard Feldman
ed4f5afb3c Rename repl test to repl_eval 2020-08-23 22:06:44 -04:00
Richard Feldman
63a9901b18 Report single-field int structs 2020-08-23 22:06:44 -04:00
Richard Feldman
6827a48dd1 Add some failing repl record tests 2020-08-23 22:06:44 -04:00
Richard Feldman
fc857e2070 Add nested list repl tests 2020-08-23 16:22:11 -04:00
Richard Feldman
7ff7af47c8 Clip-o-matic 9000 2020-08-23 16:17:50 -04:00
Richard Feldman
edb2530bfa Support nested lists in repl 2020-08-23 16:14:31 -04:00
Richard Feldman
b210cff2e1 Add a repl test for List Str 2020-08-23 14:35:10 -04:00
Richard Feldman
c32bb057f2 Use roc_fmt to render repl output exprs 2020-08-23 14:35:03 -04:00
Richard Feldman
1a0898ca93 Ignore some newlines in repl output 2020-08-23 14:22:15 -04:00
Richard Feldman
6b7e3f3c68 Restore some repl rendering 2020-08-23 14:22:15 -04:00
Richard Feldman
f12410c930 Improve repl crash reporting 2020-08-23 14:22:15 -04:00
Richard Feldman
a632303d15 Revert attempt to do repl JIT better 2020-08-23 14:22:15 -04:00
Richard Feldman
d61bd673fd Make repl tests more robust to repl crashing 2020-08-23 14:22:15 -04:00