Ayaz Hafiz
29b37a10df
Correctly use module name in linked functions
2022-07-21 09:02:04 -04:00
Richard Feldman
7908e8c176
roc format examples
2022-07-13 23:16:09 -04:00
Richard Feldman
496fd6e8bb
roc format examples
2022-07-11 13:14:01 -04:00
Brian Carroll
f098d71f61
Make the benchmark host prompt the user for input
2022-07-01 21:57:02 +01:00
Ayaz Hafiz
9db8832e35
Rust roc_alloc rather than allocator in benchmarks platform
...
This is good style (I think?) and in #2226 , the effect closures become
0-sized, which presently causes the ptrCast here to panic because it's
casting a nullptr. Aside of #3336 I think this is the last thing to get
the lazy effects working.
2022-06-27 18:26:06 -04:00
Richard Feldman
2dd28c6be3
Remove Package-Config.roc from examples
2022-06-16 15:21:55 -04:00
Sean Hagstrom
c53f6cf2fe
formatter: remove spaces at the beginning and end of single-line square bracket expressions
2022-05-22 14:06:34 +01:00
Sean Hagstrom
08777434b6
formatter: support removing blank lines between all when branches in when expressions
2022-05-19 09:26:04 +01:00
Sean Hagstrom
fbdeec8b3b
update examples with empty record patterns formatting
2022-05-16 22:24:23 +01:00
Ayaz Hafiz
cf04af1110
roc format
2022-05-10 12:12:26 -04:00
Ayaz Hafiz
cc23e94b65
roc format
2022-05-10 09:49:52 -04:00
Ayaz Hafiz
fcc15a7c51
Avoid miscompilation on AArch64 for now
...
Stopgap to avoid running into the problems induced by #3046 until we
have a more permanent fix for that.
2022-05-10 09:13:11 -04:00
Folkert
81caa96af2
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-05-07 19:38:04 +02:00
Ayaz Hafiz
c7142da116
Correctly generate type constraints for required symbols in platform
2022-05-06 12:06:27 -04:00
Folkert
a69bf971f0
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-04-06 15:38:15 +02:00
Folkert
9d9e7d10d4
use exposed_generic in hello world examples
2022-03-12 14:42:14 +01:00
Anton-4
ba5d47d270
Merge branch 'trunk' of github.com:rtfeldman/roc into roc_fmt_fixes
2022-03-08 13:57:20 +01:00
Jan Van Bruggen
99c825aa99
Simplify example platform names
2022-03-07 19:59:29 -07:00
Anton-4
21a30b1e83
fixed indentation for apply args
2022-03-07 16:23:15 +01:00
Richard Feldman
696ec3c83e
zig fmt
2022-02-27 21:07:36 -05:00
Folkert
1b464076b0
update benchmark host.zig
2022-02-16 15:33:44 +01:00
Folkert
885500712c
remove old Effect module things
2022-02-03 23:55:02 +01:00
Folkert
db2d437d78
use new hosted module for benchmarks example
2022-02-03 22:02:18 +01:00
Folkert
27d960f720
formatting
2022-01-26 20:25:31 +01:00
Folkert
b3d605cade
fix failing debug_assert
2022-01-26 20:22:18 +01:00
Folkert
f76a75b00e
formatting fixes
2022-01-23 21:25:20 +01:00
Folkert
a2cb9035c4
formatting
2022-01-19 23:56:14 +01:00
Folkert
5230c6f6f3
implement Effect.loop
2022-01-19 23:06:32 +01:00
Folkert
aecafe5c80
add Task.forever to platforms
2022-01-19 19:32:18 +01:00
Joshua Warner
8b58d5cbc7
Switch to always encoding package names / paths as strings
...
This will simplify parsing and make it possible to have a uniform lexer for the language. Previously unquoted package names were allowed to include '-'s, which aren't valid identifiers.
In the future, we'll distinguish local paths from packages in the package-manager by looking for a ".roc" suffix, which should only be present in local paths.
2021-12-23 20:11:14 -08:00
Joshua Warner
8b967f1ea8
Run formatter on all examples
2021-12-21 17:17:31 -08:00
Folkert
da3787feb8
Merge remote-tracking branch 'origin/trunk' into remove-call-result-again
2021-10-22 12:57:36 +02:00
Folkert
83de4b55ef
remove another instance of RocCallResult
2021-10-22 12:26:04 +02:00
Folkert
0a12ce896f
Revert "make list inc/dec non-recursive (except when freeing the list)"
...
This reverts commit 19eadbfe70
.
2021-10-21 20:28:32 +02:00
Folkert
19eadbfe70
make list inc/dec non-recursive (except when freeing the list)
2021-10-14 19:57:23 +02:00
Brendan Hansknecht
7d1b88b3fb
Merge branch 'trunk' into integrate-linker
2021-09-23 21:12:40 -07:00
Brendan Hansknecht
d710e78ab3
Merge branch 'trunk' into integrate-linker
2021-09-21 09:39:47 -07: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
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
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
Brendan Hansknecht
da28b669bb
Get zig host working
2021-09-15 11:45:44 -07:00
Folkert
1496ee2e70
use zig allocator, not libc, in host
2021-09-10 10:15:41 +02:00
Folkert
f8c3351c08
better debug messages from bench host
2021-09-04 13:26:31 +02:00
Folkert
0ba91f885c
make benchmark host.o more 32-bit compatible
2021-09-04 01:38:35 +02:00
Folkert
fb6131488c
update platforms for the nightly zig + wasm C abi requirements
2021-08-26 21:22:44 +02:00
Folkert
a12e18ca70
add roc_panic to all hosts
2021-08-16 22:46:00 +02:00
Folkert
3c8d675378
get most cli tests to pass
2021-06-09 19:05:37 +02:00