Commit graph

5039 commits

Author SHA1 Message Date
Anton-4
391657c157 Merge branch 'editor-let-value' of github.com:rtfeldman/roc into editor-let-value 2021-09-20 13:37:17 +02:00
Anton-4
e05307ff1a cleanup 2021-09-20 13:36:58 +02:00
Anton-4
35b8159c8b
Merge branch 'trunk' into editor-let-value 2021-09-20 11:15:25 +02:00
Anton-4
b0f590f09e
Improve cannot find str.zig error 2021-09-20 09:11:31 +02:00
Folkert
e319d1e758 make roc main return values, instead of write them into pointer 2021-09-19 22:05:48 +02:00
Folkert
c5eeaab2c2 remove callresult from cli examples 2021-09-19 18:34:42 +02:00
Richard Feldman
fa8aa20112
Merge branch 'trunk' into integrate-linker 2021-09-18 23:17:52 -04:00
Richard Feldman
9d53e1d748
Merge pull request #1712 from rtfeldman/names-seem-close
Revise wording on naming suggestions
2021-09-18 23:11:28 -04:00
Richard Feldman
82b558654e
Merge pull request #1711 from rtfeldman/fix-double-report
Don't report propagated errors
2021-09-18 23:11:12 -04:00
Richard Feldman
6bbeb1efee
Add comment about re-reporting cascading errors 2021-09-18 19:40:50 -04:00
Brendan Hansknecht
c46c2ddedc Merge branch 'trunk' into integrate-linker 2021-09-18 15:57:17 -07:00
Folkert
3541d1fc6c formatting 2021-09-18 22:58:44 +02:00
Folkert
ada331567a respect int/float precision in pattern matchs 2021-09-18 22:55:34 +02:00
Richard Feldman
90ff75b647 Revise wording on naming suggestions
Sometimes the suggestions aren't actually close, so it looks wrong
to claim that they are!
2021-09-18 10:50:28 -04:00
Brian Carroll
65446ce1e8 Remove unnecessary Option 2021-09-18 14:46:09 +01:00
Brian Carroll
c3b5ac6c82 Allocate stack memory to local variables 2021-09-18 13:39:38 +01:00
Richard Feldman
a21ad7064c Ignore type errors that have already been reported 2021-09-18 08:24:46 -04:00
Brian Carroll
8afcc7ab4d Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_stack_memory 2021-09-18 08:38:04 +01:00
Richard Feldman
357c31a00c Format keywords as green in reports 2021-09-18 02:52:55 -04:00
Folkert
e5e6ac79fe add comments 2021-09-18 01:12:21 +02:00
Folkert
d1c074cefe add test 2021-09-18 01:11:48 +02:00
Folkert
77911cb68a store closure data for bool/byte again 2021-09-18 01:01:38 +02:00
Folkert
7416cc4e81 don't pass closure argument if not expected 2021-09-17 22:51:51 +02:00
Brian Carroll
52a56bfa27 Optimise away a memory copy for returned structs in simple cases 2021-09-17 21:50:00 +01:00
Folkert
c68689a52b drop closure argument if the function does not use it 2021-09-17 22:43:09 +02:00
Brian Carroll
4f55b7a56e Allocate and free stack frames 2021-09-17 21:17:05 +01:00
Folkert
02ffcc2096 Merge remote-tracking branch 'origin/trunk' into mix-function-closure 2021-09-17 20:45:15 +02:00
Brian Carroll
036503c750 copy returned structs to caller stack 2021-09-17 19:42:29 +01:00
Brendan Hansknecht
66a7a3aa07 Make clippy happy again 2021-09-16 22:34:55 -07:00
Brendan Hansknecht
8a30b4803a Merge branch 'trunk' into integrate-linker 2021-09-16 16:27:50 -07:00
Folkert
8f7eab4f05 in tests, make gen_dev generate the same name as LLVM backend 2021-09-16 22:22:07 +02:00
Folkert
539d90b62e make gen tests expose mainForHost like LLVM backend 2021-09-16 21:41:23 +02:00
Folkert
2de9856576 add fibonacci example 2021-09-15 23:34:27 +02:00
Folkert
e97df90bda don't wrap in LambdaSet 2021-09-15 23:26:13 +02:00
Folkert
03d0fa524c add test 2021-09-15 23:25:08 +02:00
Brendan Hansknecht
b1e02315d0 Strip debug info from zig 2021-09-15 12:28:19 -07:00
Folkert
15fd312b6f hook up wasm and assembly dev backends 2021-09-15 20:53:00 +02:00
Brendan Hansknecht
da28b669bb Get zig host working 2021-09-15 11:45:44 -07:00
Folkert
c221225ed9 refactor 2021-09-15 20:05:57 +02:00
Folkert
7fe652ab19 add Development optimization option 2021-09-15 20:05:39 +02:00
Brian Carroll
3d18d34135 Insert extra argument when returning on stack 2021-09-15 18:45:20 +02:00
Brendan Hansknecht
e96291e9a7 Enable rebuilding hosts into a dynamic executable 2021-09-14 21:59:15 -07:00
Brendan Hansknecht
7297e969bd Fix cargo debug build 2021-09-14 17:30:26 -07:00
Brendan Hansknecht
0ef9498a69 Rebuild hosts in a separate thread and only optimize when specified 2021-09-14 14:46:03 -07:00
Folkert
58ee7f0bfc fix argument order bug for mapWithIndex 2021-09-14 22:20:35 +02:00
Folkert
bd7ce52e26 only unwrap lambda set at the last moment 2021-09-14 22:20:14 +02:00
Brian Carroll
2be2e09ffd Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_stack_memory 2021-09-14 14:57:17 +02:00
Folkert
de959d3ad3 recurse on lambda set in wasm backend 2021-09-14 13:30:19 +02:00
Brian Carroll
866d9f47a0 Move WasmLayout to its own module 2021-09-14 08:31:32 +02:00
Brian Carroll
258513a57c reset join/jump data 2021-09-14 08:18:33 +02:00