Commit graph

2477 commits

Author SHA1 Message Date
rvcas
8feab843ea feat(List): add walk function and fix walkBackwards 2020-11-24 09:01:03 -05:00
Richard Feldman
15bcdbc1a0
Merge branch 'trunk' into dev-backend-base 2020-11-24 07:17:23 -05:00
Brendan Hansknecht
bd8046056f Fix not leaf function 2020-11-23 22:18:52 -08:00
Brendan Hansknecht
09410d7a02 Rename ret_near to ret and temporarily allow dead relocations 2020-11-23 22:09:44 -08:00
Brendan Hansknecht
6caef6b86f Merge branch 'trunk' into dev-backend 2020-11-23 21:55:18 -08:00
Richard Feldman
91c98ede21
Merge branch 'trunk' into import-packages 2020-11-23 21:51:51 -05:00
rvcas
d9e906b8fb feat(List): rename walkRight to walkBackwards 2020-11-23 19:39:30 -05:00
Folkert
9c7514c449 refactor record layout generation 2020-11-23 23:44:12 +01:00
Sébastien Besnier
88373240a9 fix multiline type signature bug 2020-11-23 15:30:48 +01:00
Sébastien Besnier
d632e588ef add failing test 2020-11-23 14:24:10 +01:00
Brendan Hansknecht
1f29315ca1 Merge branch 'trunk' into dev-backend 2020-11-23 00:18:46 -08:00
Brendan Hansknecht
67c104d506 Nit clippy stuff 2020-11-23 00:17:57 -08:00
Brendan Hansknecht
3430a08d3d Major refactor for generic 64 bit with traits 2020-11-23 00:16:42 -08:00
Richard Feldman
144bdcb3bb Fix some gen_primitives tests 2020-11-23 00:33:56 -05:00
Richard Feldman
ed67fc8d09 It's gonna be okay, clippy. 2020-11-23 00:33:56 -05:00
Richard Feldman
d0f52cb27e Fix quicksort_partition_help 2020-11-23 00:33:56 -05:00
Richard Feldman
7e5fde1d15 Fix solve_expr 2020-11-23 00:33:56 -05:00
Richard Feldman
9de8ebe8e0 Fix test_mono 2020-11-23 00:33:56 -05:00
Richard Feldman
b3b37db2c0 Fix test_uniq_load 2020-11-23 00:24:40 -05:00
Richard Feldman
da328f9e78 Fix gen tests 2020-11-23 00:24:40 -05:00
Richard Feldman
88d2ad1ffc Use roc__ prefix for exposed app functions 2020-11-23 00:24:40 -05:00
Richard Feldman
c441471767 Add parse tests for platform headers 2020-11-23 00:08:50 -05:00
Richard Feldman
a8ae25697d Expose platform_header 2020-11-23 00:08:50 -05:00
Richard Feldman
1868051105 Allow for shorter app headers 2020-11-23 00:08:50 -05:00
Richard Feldman
ecfdadb5e3 Revert "Require packages and imports once again"
This reverts commit 119329dffc86edbb2bc0475dfcded905f0f19c04.
2020-11-23 00:08:50 -05:00
Richard Feldman
09d107e469 Require packages and imports once again 2020-11-23 00:08:49 -05:00
Richard Feldman
a7eb568267 Fix load tests 2020-11-23 00:08:49 -05:00
Richard Feldman
ce4469de80 Make packages and imports optional 2020-11-23 00:08:49 -05:00
Richard Feldman
3e01df2bcf Update parse tests to incorporate module headers 2020-11-23 00:08:49 -05:00
Richard Feldman
f5a480f799 Fix a test compilation error 2020-11-23 00:08:49 -05:00
Richard Feldman
eb6a7b51ff Use app path in output 2020-11-23 00:08:49 -05:00
Richard Feldman
a78434fd48 Finish introducing new header keywords 2020-11-23 00:08:49 -05:00
Richard Feldman
c2d8205bfb Reproduce fun rustmft bug 2020-11-23 00:08:49 -05:00
Richard Feldman
bf142c4c58 Drop RocStr when necessary 2020-11-22 22:41:23 -05:00
Richard Feldman
bc48f72760 Merge remote-tracking branch 'origin/trunk' into cstr 2020-11-22 22:29:34 -05:00
Richard Feldman
a306a9fcc3 Use pointers in fewer str.zig arguments 2020-11-22 22:15:26 -05:00
Richard Feldman
5eee74f209
Merge pull request #726 from rtfeldman/llvm-dce
DCE zig builtins
2020-11-22 22:13:10 -05:00
Brendan Hansknecht
c8dbcdcf64 Add some optimization comments 2020-11-22 18:13:52 -08:00
Folkert
b6433f872a DCE unused functions everywhere 2020-11-23 02:15:40 +01:00
Folkert
58246ad572 DCE zig-defined builtins that aren't used in user code 2020-11-23 02:01:57 +01:00
Chadtech
319ded66ca Return a bool instead of a u1 2020-11-22 18:24:49 -05:00
Brendan Hansknecht
215ec63abb Fix some nit clippy complaints 2020-11-22 13:46:12 -08:00
Brendan Hansknecht
7fd7407724 Add lazy literal loading optimization 2020-11-22 13:44:38 -08:00
Sébastien Besnier
b36c2bf499 implement startsWith builtin using Zig 2020-11-22 21:48:42 +01:00
Brendan Hansknecht
902bbef60a Add storing variables in the stack 2020-11-22 12:48:09 -08:00
Chadtech
b615b0127c Fix Str.startsWith std definition 2020-11-22 14:00:01 -05:00
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
Richard Feldman
5ff2b04d1a Add len, is_small_str, and write_cstr to str.zig 2020-11-22 00:20:27 -05:00
Richard Feldman
2823fee56a Use const more in str.zig, fix some init & eq bugs 2020-11-22 00:20:19 -05:00
Richard Feldman
8177980087 Remove redundant get_small_str_ptr 2020-11-21 23:15:01 -05:00