Richard Feldman
0b2c2ab36c
Fix compiler warnings on examples/cli/echo.roc
2022-11-18 14:01:55 -05:00
Folkert de Vries
0920fb4227
Merge pull request #4508 from roc-lang/windows-final-cli-tests
...
Windows final cli tests
2022-11-16 18:21:49 +01:00
Anton-4
5a447a9fcc
Merge branch 'main' of https://github.com/roc-lang/roc into windows-final-cli-tests
2022-11-16 13:58:17 +01:00
Anton-4
e9d8d13b02
windows fixes, error improvements
2022-11-16 13:55:58 +01:00
Ayaz Hafiz
b6f53f22c3
Fix inline expects on macos
...
MacOS SIGUSR1 is signal 30, not 10 as it is on Linux.
At least on MacOS clang, we need the added headers to the c platform's
host to compile correctly.
2022-11-15 09:30:28 -06:00
Ayaz
b907f01f1f
Merge pull request #4507 from roc-lang/alias-analysis-rc-recursion
...
fix stack overflow in alias analysis
2022-11-12 12:54:06 -06:00
Anton-4
084cf819d3
Merge pull request #4506 from roc-lang/csv-parser-zig
...
csv parser: rewrite host to zig
2022-11-12 16:17:33 +01:00
Brian Carroll
07efb32173
Merge pull request #4494 from roc-lang/wasm-example-fixes
...
Fixes for WebAssembly platform-switching example
2022-11-12 13:44:54 +00:00
Folkert
2318ffe31d
don't include header files that don't exist on windows
2022-11-12 14:38:26 +01:00
Folkert
9536d0b1a0
fixes for the False example
2022-11-12 13:55:13 +01:00
Anton-4
7f93bf8074
add nightly instructions
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-12 13:55:06 +01:00
Richard Feldman
83e4eef475
Merge pull request #4492 from joshuawarner32/tuple-syntax-1
...
Implement initial tuple syntax
2022-11-11 17:55:25 -08:00
Folkert
ce61a40f5b
change parser host to zig
2022-11-11 23:45:32 +01:00
Richard Feldman
58ea07f14f
Merge pull request #4503 from roc-lang/windows-cli-tests
...
Windows rust platforms
2022-11-11 09:42:06 -08:00
Folkert
21600828b2
c conditional compilation, for real
2022-11-11 11:09:15 +01:00
Folkert
e0b67e0445
c conditional compilation?
2022-11-11 10:24:23 +01:00
Folkert
b6b7d186e4
make new extern functions compile on windows
2022-11-10 23:14:41 +01:00
Folkert
11360edf7b
make effects platform work on windows
2022-11-10 22:11:21 +01:00
Anton-4
fe16c1bb8e
Merge pull request #4500 from roc-lang/c_missing_include
...
add missing includes for clang 14
2022-11-10 11:39:23 +01:00
Joshua Warner
cdbdfeeaa4
Use closure syntax in parentheses in False.roc
2022-11-09 19:00:27 -05:00
Anton-4
cd375538f2
add missing includes for clang 14
...
I believe implicit declarations(=missing headers) used to be a warning in clang 13 but this now an error in clang 14
2022-11-09 20:46:48 +01:00
Folkert
b8145e8eb8
fix missing import
2022-11-09 13:05:54 +01:00
Brian Carroll
5b27ced13d
platform-switching: Fixes for WebAssembly platform example
2022-11-09 08:52:42 +00:00
Folkert
d9d88328d3
update rust platform build.rs
2022-11-06 16:34:15 +01:00
Folkert
32e7a60c8a
use correct Ext trait
2022-11-06 16:34:15 +01:00
Folkert
05a5efff3e
on windows, going from bytes to OsString always owns
2022-11-06 16:34:15 +01:00
Folkert
59ac45107b
fix compile error
2022-11-06 16:34:15 +01:00
Folkert
b38c64e950
handle windows OsString in the cli platform
2022-11-06 16:34:14 +01:00
Folkert
2a41f72ad6
remove another duplicate import
2022-11-05 17:11:58 +01:00
Folkert
64584384bf
remove duplicate import
2022-11-05 15:05:40 +01:00
Folkert
92cc120c7f
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
2022-11-05 12:21:37 +01:00
Richard Feldman
dc2500aac2
Merge pull request #4419 from roc-lang/repl
...
REPL improvements
2022-11-05 02:35:26 -07:00
Richard Feldman
c03dc17ab4
Merge remote-tracking branch 'origin/main' into repl
2022-11-05 01:04:44 -04:00
Richard Feldman
9cf102fcdd
roc format
2022-11-04 15:44:18 -04:00
Richard Feldman
9cac29c00c
Rename some Ruby interop demo things
2022-11-03 23:04:15 -04:00
Richard Feldman
70c822c1d3
Simplify rb_funcall call
2022-11-03 23:04:07 -04:00
Richard Feldman
8ebdc44a23
Have Ruby interop call JSON.parse
...
Thanks to @besquared for showing me how to do this!
https://mobile.twitter.com/besquared/status/1588363108606541824
2022-11-03 22:59:24 -04:00
Richard Feldman
a06ba9ad23
Rename ruby interop platform
2022-11-03 22:47:04 -04:00
Richard Feldman
e31d308866
Use JSON to talk to Ruby
2022-11-03 22:39:10 -04:00
Richard Feldman
0721f5a9d8
Use JSON in the ruby-interop demo
2022-11-03 21:56:01 -04:00
Richard Feldman
9ca45602bb
Add function for calling Roc from Ruby via JSON
2022-11-03 02:00:58 -04:00
Richard Feldman
b6575e86d7
Have roc_panic raise a Ruby exception
2022-11-03 02:00:45 -04:00
Richard Feldman
e9e3537738
Clean up some demo.c logic
2022-11-03 00:11:32 -04:00
Richard Feldman
768f7ff49e
Clarify some parentheses
2022-11-03 00:06:31 -04:00
Richard Feldman
28c55cff38
Use PTRDIFF_MIN
2022-11-03 00:06:14 -04:00
Richard Feldman
53c570eca8
More improvements to demo.c
2022-11-03 00:06:14 -04:00
Richard Feldman
efc7d87e5a
Add incref and decref to demo.c
2022-11-02 22:58:30 -04:00
Richard Feldman
7ebb74dc83
Use uint8_t over char, fix + vs - in demo.c
2022-11-02 22:58:30 -04:00
Folkert
0c9b49f5cd
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects
2022-11-02 23:02:22 +01:00
Anton-4
85ce321c4d
Merge pull request #4347 from roc-lang/benchmarks-to-nix
...
moved earthly benchmarks to nix
2022-11-02 14:36:20 +01:00