Commit Graph

156 Commits

Author SHA1 Message Date
Ayaz
9bf23196a8
Revert stray introduction from #4661
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2022-12-03 12:32:46 -06:00
Ayaz Hafiz
845a2f8c75
Report warnings in roc test 2022-12-02 14:11:58 -06:00
Richard Feldman
956d3d1462
basic-cli docs --> roc-lang.org/packages/basic-cli 2022-11-26 19:04:35 -05:00
Richard Feldman
bdc61b7fd9
Link to basic-cli in the README for cli examples 2022-11-26 19:04:34 -05:00
Richard Feldman
2409399ff3
Don't even compile https stuff in wasm! 2022-11-26 08:53:31 -05:00
Richard Feldman
58fad36f9d
Merge pull request #4460 from roc-lang/crash
Crash
2022-11-25 17:18:21 -05:00
Ayaz Hafiz
aba047e84c
Add support for user crashes in the cli plat 2022-11-24 14:46:52 -06:00
Ayaz Hafiz
18713e2209
cli-platform handles roc_panic RocStr 2022-11-24 14:46:50 -06:00
Richard Feldman
c63425e188
Fix test 2022-11-24 12:06:58 -05:00
Richard Feldman
2e61df3b96
roc format 2022-11-24 05:47:35 -05:00
Richard Feldman
8bbc3ad925
Drop Program and third type param from Task 2022-11-24 03:21:14 -05:00
Ayaz
1a3119e4c5
Merge pull request #4525 from roc-lang/fix-fixpoints-2
Implement fixpoint-fixing and unconditionally emplace variables into type indices
2022-11-19 17:47:02 -06:00
Richard Feldman
0b2c2ab36c
Fix compiler warnings on examples/cli/echo.roc 2022-11-18 14:01:55 -05:00
Ayaz Hafiz
f0fbf16be6
Remove panicking line in Args.roc 2022-11-16 14:05:51 -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
Folkert
9536d0b1a0
fixes for the False example 2022-11-12 13:55:13 +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
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
Joshua Warner
cdbdfeeaa4
Use closure syntax in parentheses in False.roc 2022-11-09 19:00:27 -05:00
Folkert
b8145e8eb8
fix missing import 2022-11-09 13:05:54 +01: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
0c9b49f5cd
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-11-02 23:02:22 +01:00
Brian Carroll
9ebf934ee7
Merge pull request #4444 from roc-lang/windows-cli-tests
Windows cli tests
2022-11-01 06:43:23 +00:00
Folkert
0cada70627
add comment about removeing \r 2022-10-31 22:48:50 +01:00
Folkert de Vries
55ea3bbea2
Merge pull request #4437 from roc-lang/windows-effect-loop-scratchpad
windows: working cli benchmark tests
2022-10-31 22:33:10 +01:00
Ayaz Hafiz
71e759a456
CLI platform effects are open by default 2022-10-31 09:38:22 -05:00
Ayaz Hafiz
cfe7c8e5ef
Warn on the presence of unnecessary wildcards in output positions 2022-10-31 09:38:20 -05:00
Folkert
dbd0d30893
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-10-30 15:57:07 +01:00
Folkert
9620140079
use timer instead of CLOCK in zig platforms 2022-10-30 13:46:21 +01:00
Folkert
7b449516ad
strip carriage return differently 2022-10-30 11:50:26 +01:00
Folkert
b3f151fd53
deal with carriage return when getting a number from stdin 2022-10-29 21:13:28 +02:00
Folkert de Vries
9f62e65892
Merge pull request #4406 from roc-lang/windows-effect-loop
Windows effects.roc
2022-10-29 00:29:35 +02:00
Folkert
751192ddfc
use timer in effect zig platform 2022-10-26 16:38:11 +02:00
Nick Gravgaard
3fe270ff88
Obvious refactor of TUI platform's event loop
Signed-off-by: Nick Gravgaard <nick@nickgravgaard.com>
2022-10-26 11:35:34 +01:00
Folkert
b4878e5550
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-10-24 18:39:30 +02:00
Nick Gravgaard
6d02332b62
Change TUI platform to call view on initial model
Signed-off-by: Nick Gravgaard <nick@nickgravgaard.com>
2022-10-24 09:44:49 +01:00
Brendan Hansknecht
7bbf1fb9c5
fix examples that are failing to build 2022-10-21 13:57:22 -07:00
Richard Feldman
e6fd0c62fd
Do an explicit cast that doesn't make sense
I don't know why this is what the compiler wants,
given that the docs say it shouldn't need a cast,
but this is for some reason what the compiler wants.
2022-10-16 18:43:03 -04:00
Richard Feldman
bb1693556b
Drop some unnecessary imports 2022-10-16 18:40:17 -04:00
Folkert
f562d61505
int cast on macos 2022-10-16 18:32:55 +02:00
Folkert
19ea3489cb
provide more libc functions for the expect implementation 2022-10-12 20:59:18 +02:00
Richard Feldman
d28445666b
Merge pull request #4265 from cjduncana/from-result
Add the `fromResult` function to the `Task` module
2022-10-08 23:12:44 -07:00
Jan Van Bruggen
d6114721f5
Merge pull request #4234 from roc-lang/add_Stdout.write
Add newline-less `Stdout.write` & `Stderr.write` to `cli-platform`
2022-10-08 22:26:46 -06:00