Commit graph

507 commits

Author SHA1 Message Date
Richard Feldman
d21ffb7eee
Merge pull request #678 from rtfeldman/record-bool-tests
More REPL Improvements
2020-11-12 00:07:18 -05:00
Folkert
21685b6f8f add tests for the rigid issue 2020-11-11 22:55:46 +01:00
Chad Stearns
4f54b87817 Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-11 02:14:31 -05:00
Chad Stearns
b1267d9026 More Str.split tests 2020-11-11 02:09:15 -05:00
lrosa007
2cc4f1767e Merge branch 'trunk' into record-bool-tests 2020-11-11 00:38:37 -05:00
Folkert
3aa6455795 fix problem with recursive definition constraint gen 2020-11-10 19:40:35 +01:00
Folkert
be5c748b7f revert some debug things 2020-11-10 14:12:01 +01:00
Folkert
0b19c594c5 improve compare/Order 2020-11-09 21:21:14 +01:00
Folkert
0081c9ff77 fix tag test 2020-11-09 21:20:57 +01:00
Folkert
063492680f recursive functions cannot capture other recursive functions from their LetRec 2020-11-09 15:54:02 +01:00
Folkert
41c5101799 more tests 2020-11-09 14:28:31 +01:00
Folkert
3f485b63d6 cleanup 2020-11-09 00:16:04 +01:00
Folkert
0d5aaf2aaa make getLine : Effect {} work 2020-11-08 23:36:08 +01:00
Chad Stearns
b102511d9e Easier to read and reason about big str split tests 2020-11-08 15:01:44 -05:00
Chad Stearns
5e0e3da3b7 Merging in remote trunk 2020-11-08 07:01:07 -05:00
Chad Stearns
d41e940b7f Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-07 02:07:52 -05: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
9790312d4a add some gen tests 2020-11-05 13:49:21 +01:00
Folkert
2cf7a9fe42 fix tests 2020-11-03 20:13:38 +01:00
Folkert
212f8b4d50 change test runners to use new error reporting stuff 2020-11-03 19:36:02 +01:00
Folkert
89e01c63d1 make Num.maxInt and Num.minInt work 2020-11-02 21:49:44 +01:00
Folkert
841d696e6d cleanup 2020-11-02 20:28:12 +01:00
Chad Stearns
c412a8e0db Merge in remote trunk 2020-11-01 11:38:44 -05:00
Folkert
51506c11cb Merge remote-tracking branch 'origin/trunk' into fix-alias-inference 2020-10-30 22:45:52 +01:00
Folkert
f758958d4a deliberately don't run some tests in opt mode 2020-10-30 01:44:54 +01:00
Pit Capitain
233979468b Merge branch 'trunk' into fix-walk-right 2020-10-29 17:45:46 +01:00
Pit Capitain
c8e1937ebe Add failing tests for bug in List.walkRight
List.walkRight currently can't handle accumulators that aren't integers,
for example strings or records.
2020-10-29 16:29:31 +01:00
Folkert
a0c8915678 Merge remote-tracking branch 'origin/trunk' into fix-alias-inference 2020-10-29 14:40:55 +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
Folkert
ef1cee6c41 HUGE WIP 2020-10-28 01:13:04 +01:00
Folkert
5fbcfe18d3 new recvar design 2020-10-26 16:16:01 +01:00
Folkert
7d2cc3aac2 WIP 2020-10-25 22:16:27 +01:00
Jared Ramirez
6253ac15e4 Use differnt atan test based on os 2020-10-25 12:11:23 -07:00
Folkert
b4a9ffdccd tests as they currently pass 2020-10-25 19:24:49 +01:00
Richard Feldman
21d4f8026e
Merge branch 'trunk' into convert-bitcode-gen-to-c 2020-10-25 14:17:17 -04:00
Richard Feldman
17b2eebcfc REVERT THIS! Temporarily disable exception tests.
These currently break on Linux, but pass on macOS.

They worked fine with JITExecutionEngine on Linux,
but JITExecutionEngine failed on macOS.
2020-10-25 01:42:10 -04:00
Richard Feldman
3d7a265c5f Load a dynamic library in the repl 2020-10-25 01:42:10 -04:00
Richard Feldman
14c8a00f9d Don't link Scrti.o when doing dynamic linking 2020-10-25 01:42:10 -04:00
Richard Feldman
ac46d84c60 use RelocMode::PIC 2020-10-25 01:42:10 -04:00
Richard Feldman
468deebaa3 Clean up dummy test 2020-10-25 01:42:10 -04:00
Richard Feldman
737eee874f Fix tests 2020-10-25 01:42:10 -04:00
Richard Feldman
b4377d4d67 Get a basic dylib linking started 2020-10-25 01:41:55 -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
0ae045c1f3 Add canonical Expr for Str.startsWith 2020-10-22 23:24:29 +02:00
Folkert
75332bd109 re-enable tests 2020-10-21 13:47:23 +02:00