Commit graph

1986 commits

Author SHA1 Message Date
Brendan Hansknecht
ec4e19d01f Extract remain assembly to asm.rs 2020-11-15 21:05:53 -08:00
Brendan Hansknecht
0fcb1df344 Refactor x86_64 backend and add first assembly methods 2020-11-15 20:43:14 -08:00
Brendan Hansknecht
a8986087f9 Add ability to return int literals 2020-11-15 14:06:20 -08:00
Brendan Hansknecht
86c3c0a409 Add base structure for dev compiler backend
Currently we only generate a single static function, but it is probably
loaded and run with jit. This is the base to start generating proper
code.
2020-11-14 18:43:02 -08:00
Brendan Hansknecht
2204ee82d5 Extract LayoutIds from roc_gen to roc_mono::layout 2020-11-14 17:48:04 -08:00
Sébastien Besnier
ec975aac93 cargo fmt 2020-11-13 19:56:13 +01:00
Sébastien Besnier
adc1493e76 appease clippy 2020-11-13 19:36:52 +01:00
Sébastien Besnier
b29792855f fix some merge conflict consequences 2020-11-13 19:28:55 +01:00
Sébastien Besnier
58acc59b01 correctly parse trailing commas in record 2020-11-13 19:02:26 +01:00
Sébastien Besnier
7ec161c415 add trailing comma in formatter for records 2020-11-13 19:01:46 +01:00
Sébastien Besnier
6ad1bb233a add TrailingComma to Record & little formatter refactor 2020-11-13 19:01:46 +01:00
Chad Stearns
c046a72e85 A few more commented out and failing Str.split tests 2020-11-13 01:25:27 -05:00
Chad Stearns
c9e3531ecd Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-13 00:58:37 -05:00
Folkert
815b942f29 cleanup 2020-11-13 01:59:09 +01:00
Folkert
8db74298a2 Merge remote-tracking branch 'origin/trunk' into red-black-tree 2020-11-13 01:45:31 +01:00
Folkert
78e0886eb1 clippy 2020-11-13 01:42:31 +01:00
Folkert
70cba33fe4 fix bug in decision_tree 2020-11-13 01:39:39 +01:00
Folkert
ed26b07916 more tests, for (deeply nested) pattern matching 2020-11-13 01:36:19 +01:00
Folkert
a431af660d give better debug info for unresolved type variables 2020-11-12 22:28:58 +01:00
Folkert
4b5a26ebc6 fix problem with aliased variables 2020-11-12 22:00:32 +01:00
Folkert
c05ec12be0 report a Foo.Bar malformed identifier 2020-11-12 20:48:34 +01:00
Folkert
bde82c3bb6 add Store constraint that does not report errors 2020-11-12 15:47:56 +01:00
Folkert
75d18eb8ba no more rigid mistakes? 2020-11-12 15:31:25 +01:00
Folkert
7a719172bc more rigid fixes? 2020-11-12 14:55:46 +01:00
Folkert
f438cefd68 more test cases 2020-11-12 14:51:40 +01:00
Richard Feldman
d21ffb7eee
Merge pull request #678 from rtfeldman/record-bool-tests
More REPL Improvements
2020-11-12 00:07:18 -05:00
Folkert
791cfbbc34 find stack overflowing case 2020-11-12 02:28:34 +01:00
Folkert
c0483bf3d7 shrink further 2020-11-12 01:53:38 +01:00
Folkert
b72e922d82 shrunk test case 2020-11-12 01:40:21 +01:00
Folkert
197c039cdd more tests 2020-11-12 01:08:25 +01:00
Folkert
eaf94f2cfc uncomment more of rbtree 2020-11-12 00:45:47 +01:00
Folkert
55b26277ca properly sort recursive definitions 2020-11-12 00:32:45 +01:00
Folkert
21685b6f8f add tests for the rigid issue 2020-11-11 22:55:46 +01:00
Folkert
22592eff80 fix issue with rigids 2020-11-11 22:51:28 +01:00
Folkert
0ba612ecdb refactor 2020-11-11 21:56:25 +01:00
Folkert
62a82d1135 extract untyped args helper 2020-11-11 21:46:12 +01:00
Folkert
d6e7e8381c make it clearer the variables come from the def's pattern 2020-11-11 20:49:04 +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
36789e2582 More Str.split tests 2020-11-11 02:09:44 -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
cf80e2852f add test for transitive alias import 2020-11-11 01:20:30 +01:00
Folkert
984cf744e3 make Storage store where it came from 2020-11-11 01:16:30 +01:00
Folkert
c64a6da745 make Storage store where it came from 2020-11-11 01:14:15 +01:00
Folkert
1c4be886bf add rbtree test case 2020-11-10 20:57:24 +01:00
Folkert
6490956a84 fix deadlock in file.rs 2020-11-10 20:15:38 +01:00
Folkert
3aa6455795 fix problem with recursive definition constraint gen 2020-11-10 19:40:35 +01:00
Folkert
b54c1a2194 revert some debug things 2020-11-10 19:40:35 +01:00
Folkert
be5c748b7f revert some debug things 2020-11-10 14:12:01 +01:00
Folkert
3f658c4b98 Merge remote-tracking branch 'origin/trunk' into red-black-tree 2020-11-10 14:09:08 +01:00