Brendan Hansknecht
b1a17b5a6f
add fd_write so that works
2022-07-03 10:21:15 -07:00
Brendan Hansknecht
13a1a8f49d
update the wasm example so that it compiles and the readme is correct
2022-07-03 10:20:52 -07:00
Anton-4
b1b9a8dc0a
Merge branch 'trunk' of github.com:rtfeldman/roc into crates-folder
2022-07-02 10:44:25 +02:00
Brian Carroll
f098d71f61
Make the benchmark host prompt the user for input
2022-07-01 21:57:02 +01:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes
2022-07-01 17:37:43 +02:00
Richard Feldman
ca2eb1e7e2
Merge pull request #3281 from rtfeldman/add_platform_switching_example
...
Separate `hello-world` platform switching into its own example
2022-06-28 09:12:05 -04: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
Jan Van Bruggen
8cf3bee728
Reword "web" example things to "web assembly"
2022-06-27 00:07:11 -06:00
Jan Van Bruggen
8f440f0b5a
Rename "hello" executable to "helloWorld"
2022-06-27 00:06:37 -06:00
Jan Van Bruggen
a9d9acb2b8
Separate hello-world platform switching into its own example
2022-06-27 00:06:33 -06:00
Richard Feldman
2dd28c6be3
Remove Package-Config.roc from examples
2022-06-16 15:21:55 -04:00
Richard Feldman
52dc59383b
Update Cargo.lock on examples
2022-06-15 12:08:06 -04:00
Richard Feldman
8ba3345311
fix typo
2022-06-15 12:08:06 -04:00
Richard Feldman
8295b7cbf9
Update examples/README
2022-06-15 12:08:06 -04:00
Richard Feldman
f9e15c0a65
Revise hello-world example
2022-06-15 12:08:05 -04:00
Richard Feldman
8d6573fd76
Add a comment explaining the ManuallyDrop
2022-06-12 11:07:24 -04:00
Folkert
8d85d87326
extend lifetime of string till end of block
2022-06-12 16:09:44 +02:00
Richard Feldman
11b8dded25
Merge pull request #3161 from rtfeldman/cli-run-tricks
...
Cli run tricks
2022-06-08 10:09:56 -04:00
Brian Carroll
f7abb16163
ignore all .wasm files in examples, rather than individual ones
2022-06-06 16:45:22 +01:00
Anton-4
23236f5cb2
fixed hello swift
2022-06-01 17:15:52 +02:00
Folkert
e81e597d85
fix a complaint by my clang
2022-06-01 14:17:12 +02:00
Sean Hagstrom
d9d708fc94
formatter: fix indentation for multi-line lambdas in pipeline expression
2022-06-01 08:53:13 +01:00
Richard Feldman
228793002c
Stop using ReferenceCounted in examples
2022-05-26 11:41:42 -04:00
Sean Hagstrom
e2e77a2324
formatter: add newlines between parens delimiters for multiline expressions
2022-05-24 11:19:30 +01:00
Richard Feldman
4eec34becf
Update to use new square brace formatting
2022-05-22 23:15:54 -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
Richard Feldman
9c72e5e8ed
Remove unnecessary -> () function return types
2022-05-18 08:29:40 -04:00
Sean Hagstrom
fbdeec8b3b
update examples with empty record patterns formatting
2022-05-16 22:24:23 +01:00
Anton-4
4eb02e08b3
removed unnecessary resolver
2022-05-16 17:14:03 +02:00
Anton-4
0f59f3097a
cargo fix --edition
2022-05-16 17:04:17 +02:00
Brian Carroll
aaea254e8f
Pass precompiled host bytes to gen_wasm in CLI
2022-05-15 11:11:08 +01:00
Brian Carroll
997daacf66
Update some Zig code to 0.9.1
2022-05-15 11:10:41 +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
Richard Feldman
df7df4ccf8
Merge branch 'trunk' into mfonism/rename-num-float-type-to-frac
2022-05-08 20:54:33 -04:00
Mfon Eti-mfon
9068c2414e
Rename float functions and vars
2022-05-08 18:42:12 +01:00
Folkert
3e141967bd
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-05-07 22:29:43 +02:00
Folkert
81caa96af2
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-05-07 19:38:04 +02:00
Richard Feldman
8849e5cdd1
Improve false interpreter missing CLI arg message
2022-05-06 17:13:03 -04:00
Richard Feldman
7c8a71d863
Format examples/interactive/tui/Package-Config.roc
2022-05-06 12:06:28 -04:00
ayazhafiz
dca347a807
Revert "roc fmt"
...
This reverts commit 9e00527bc214ebbb13d9e05ff03ea24b1467e6dc.
2022-05-06 12:06:28 -04:00
Richard Feldman
0810d8194e
roc fmt
2022-05-06 12:06:27 -04:00
Ayaz Hafiz
c7142da116
Correctly generate type constraints for required symbols in platform
2022-05-06 12:06:27 -04:00
Folkert
b7b86c0cde
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-04-30 23:34:48 +02:00
Ayaz Hafiz
f1dc9c8298
Opaques take @ : %s/\$\([A-Z]\)/@\1/g
2022-04-25 12:26:38 -04:00
Ayaz Hafiz
36014e332d
Remove private tags from false interpreter
2022-04-25 10:59:11 -04:00
Ayaz Hafiz
45eb6d3ff4
Remove private tags from Bytes
2022-04-25 10:59:11 -04:00
Sean Hagstrom
b147890b08
feat(formatter): implement outdent formatting for multiline lists and records
2022-04-24 16:52:02 +01:00