Commit graph

437 commits

Author SHA1 Message Date
Folkert
ad8e9db896 fix comments/warnings 2020-09-08 14:18:55 +02:00
Folkert
f857203673 Merge remote-tracking branch 'origin/trunk' into recursive-layouts 2020-09-07 16:53:15 +02:00
Folkert
4522fe14fc fix recursion issue in type inference 2020-09-07 16:35:49 +02:00
Folkert
0a034c474a fix test failures 2020-09-07 14:36:33 +02:00
Folkert
127dd06586 fix bug with optional record fields 2020-09-07 14:13:22 +02:00
Folkert
25cd0a2c02 codegen for walkRight 2020-09-06 22:03:46 +02:00
Chad Stearns
5d0ec57461 List.walkRight definition in unique, std, builtins, etc. No implementation 2020-09-06 14:06:08 -04:00
Folkert
46755973d6 wip 2020-09-06 18:53:26 +02:00
Chad Stearns
d61e0735ec Minor changes to List.keepIf test and commented out a test that doesnt yet work 2020-09-05 19:02:44 -04:00
Folkert
ceb938c9af get tests working again 2020-09-06 00:26:41 +02:00
Chad Stearns
ad41d0f26e Nonempty list with always true condition List.keepIf test 2020-09-05 02:52:51 -04:00
Chad Stearns
5bd88c8901 Merge branch 'trunk' of github.com:rtfeldman/roc into list_keepIf 2020-09-05 00:47:21 -04:00
Folkert
c1fdd0ea7b remove unused field 2020-09-04 23:09:05 +02:00
Folkert
f02d907f17 inc/dec for recursive unions; first pass 2020-09-04 23:07:27 +02:00
Richard Feldman
5b27e10095 Reproduce empty string parsing bug 2020-08-31 23:13:50 -04:00
Folkert
f9cf4ea371 recursive tag unions 2020-08-31 14:29:09 +02:00
Chad Stearns
b02f8af37e Complete implementation of List.keepIf, that is currently not passing tests 2020-08-30 21:29:14 -04:00
Chad Stearns
8b31419b2c Merge in remote 2020-08-30 15:38:43 -04:00
Chad Stearns
d0587fa92c Commented in some quick sort tests 2020-08-29 17:46:27 -04:00
Chad Stearns
8547b7de89 Commented in first_empty_list_test 2020-08-29 17:41:12 -04:00
Chad Stearns
01b3d2cf61 broke up list_prepend_tests 2020-08-29 17:41:03 -04:00
Chad Stearns
b3ce6041a3 Split List.join and List.concat 2020-08-29 16:56:35 -04:00
Chad Stearns
195925d993 Removed 'main = \_ ->' from List.map tests, since they were to work around a bug, and also split list_map and list_append tests into separate tests 2020-08-29 16:30:54 -04:00
Chad Stearns
30046d1ad4 basic List.keepIf set definition, but no implementation 2020-08-29 15:47:11 -04:00
Folkert
020b6154f9 fix passing functions by name 2020-08-26 23:34:49 +02:00
Chad Stearns
ddc15fd2ea Added some tests that should work some day 2020-08-24 03:35:25 -04:00
Chad Stearns
4ea52c139d List.map implementation 2020-08-23 19:35:21 -04:00
Chad Stearns
4d1945d062 Put List.map tests under main 2020-08-22 19:47:12 -04:00
Chad Stearns
800b99d165 Try different List.map unique implementation 2020-08-22 19:46:29 -04:00
Folkert
ba186bfe09 can store, but not load recursive fields 2020-08-22 16:01:04 +02:00
Richard Feldman
50251c678b
Merge branch 'trunk' into str-concat 2020-08-19 23:05:13 -04:00
Folkert
0e5283efd2 Merge remote-tracking branch 'origin/trunk' into infer-borrow 2020-08-19 23:56:29 +02:00
Folkert
fa5e5ab201 back to a working version 2020-08-19 23:42:45 +02:00
Chad Stearns
72558c61f1 Implemented Str.concat 2020-08-19 02:00:49 -04:00
Chad Stearns
e71e33c34e Merge branch 'trunk' of github.com:rtfeldman/roc into str-concat 2020-08-18 19:54:41 -04:00
Chadtech
485626ce61
Merge branch 'trunk' into remove-nul-terminator-str-literal-implementation 2020-08-17 03:26:49 -04:00
Chad Stearns
eb89367159 Comment in str test 2020-08-17 03:24:00 -04:00
Chad Stearns
8960c0e0a0 Comment out llvm error messages 2020-08-17 03:23:28 -04:00
Richard Feldman
608c4eebd9 Drop unnecessary arg_basic_types 2020-08-16 16:17:10 -04:00
Chad Stearns
4ded732a09 Implement String literals as lists of bytes instead of null terminating c-strings 2020-08-16 04:38:24 -04:00
Chad Stearns
a81504720b Str.concat tests and definition set up 2020-08-15 02:45:52 -04:00
Chad Stearns
0a725eff3c Base definition of List.map, but not real implementation, and the tests fail 2020-08-14 02:10:20 -04:00
Richard Feldman
3f0b08a992 Have Stmt::new accept LayoutCache 2020-08-12 23:14:06 -04:00
Folkert
5ca843822f implement optional fields in let bindings and when 2020-08-13 01:39:59 +02:00
Folkert
3e12f1a309 Merge remote-tracking branch 'origin/tail-call-elimination' into gen-optional-field 2020-08-13 00:21:21 +02:00
Folkert
20ddbeb528 implement optional fields in function pattern matches 2020-08-13 00:09:57 +02:00
Folkert
380e34d296 Merge remote-tracking branch 'origin/trunk' into tail-call-elimination 2020-08-12 15:46:50 +02:00
Folkert
8c86836101 add TCE 2020-08-12 14:03:55 +02:00
Folkert
bdd8751107 start work on tail recursion 2020-08-12 12:57:20 +02:00
Folkert
8444c1fe6d always implicitly leak memory in tests (never free on the roc side) 2020-08-12 01:38:42 +02:00