Commit Graph

10034 Commits

Author SHA1 Message Date
Folkert
fe0746951d add dummy test for the hello-web example 2021-09-20 22:59:42 +02:00
Folkert de Vries
e1bdb953bb
Merge branch 'trunk' into integrate-linker 2021-09-20 22:51:24 +02:00
Folkert
53c4dfb8d1 Merge remote-tracking branch 'origin/trunk' into remove-call-result 2021-09-20 22:07:54 +02:00
Anton-4
946502b8ea
Merge pull request #1723 from rtfeldman/temp-disable-benches
temp disable benchmarks
2021-09-20 20:18:58 +02:00
Anton-4
f8e53d6268
temp disable benchmarks 2021-09-20 19:33:56 +02:00
Richard Feldman
a34c3f97b7
Merge pull request #1722 from rtfeldman/better-str.zig-error
Improve cannot find str.zig error
2021-09-20 07:34:16 -04:00
Anton-4
b0f590f09e
Improve cannot find str.zig error 2021-09-20 09:11:31 +02:00
Richard Feldman
33dc8be6b0
Merge pull request #1718 from rtfeldman/roc-check
add `roc check` subcommand
2021-09-19 23:08:01 -04:00
Folkert
f6cce89e08 enable fib example 2021-09-19 22:06:41 +02:00
Folkert
e319d1e758 make roc main return values, instead of write them into pointer 2021-09-19 22:05:48 +02:00
Folkert
f13e65ff8e more removal of roccallresult 2021-09-19 20:54:32 +02:00
Folkert
cb82bcb173 remove callresult from linker test 2021-09-19 18:53:46 +02:00
Folkert
f3bf9bdbd0 add comment to fib host.zig 2021-09-19 18:50:52 +02:00
Folkert
c5eeaab2c2 remove callresult from cli examples 2021-09-19 18:34:42 +02:00
Folkert
c436228d02 add roc check subcommand 2021-09-19 16:43:55 +02:00
Brian Carroll
874bf80321 README corrections 2021-09-19 11:59:24 +01:00
Brian Carroll
11f8652ff6 Refactor hello-web example for possible future automated testing
For now there's a Node.js test that works, but we're not actually running it in CI,
and Node is not a dependency of the project.
2021-09-19 11:48:31 +01:00
Richard Feldman
cda29d0706 memcpy and memset are byte-aligned 2021-09-18 23:40:36 -04: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
Brendan Hansknecht
874ef7a590 Move copying precompiled host to rebuild thread 2021-09-18 17:54:02 -07:00
Richard Feldman
cd9e391722
Merge pull request #1715 from rtfeldman/pattern-number-precision
respect int/float precision in pattern matches
2021-09-18 20:48:13 -04:00
Richard Feldman
8a0ce49a56
Merge pull request #1716 from rtfeldman/fix-cfold-benchmark
make host main have  C callconv
2021-09-18 20:20:59 -04:00
Richard Feldman
6bbeb1efee
Add comment about re-reporting cascading errors 2021-09-18 19:40:50 -04:00
Brendan Hansknecht
4a6e620705 Add --precompiled-host flag to enable skipping rebuild 2021-09-18 16:11:51 -07:00
Brendan Hansknecht
c46c2ddedc Merge branch 'trunk' into integrate-linker 2021-09-18 15:57:17 -07:00
Brian Carroll
c20a2e5740 Hello web is working!! 2021-09-18 23:52:18 +01:00
Folkert
712dfb2702 simplify alignment calculation 2021-09-19 00:35:09 +02:00
Folkert
8429325eed make main have callconv C 2021-09-19 00:27:57 +02:00
Brian Carroll
e0af849518 Create hello-web example 2021-09-18 22:56:33 +01: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
Richard Feldman
cde9f97415
Merge pull request #1710 from rtfeldman/highlight-keywords
Syntax highlighting for keywords in reports
2021-09-18 08:17:57 -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
Richard Feldman
c3af5b4eb8
Merge pull request #1706 from rtfeldman/mix-function-closure
Mix function & closure
2021-09-17 23:32:37 -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