Folkert
616eccb932
make tui example that uses primitive TEA
2022-01-23 21:05:55 +01:00
Richard Feldman
b42cc3d625
Merge pull request #2392 from rtfeldman/tag-join-points
...
Improve code gen of tags in join points
2022-01-22 22:42:22 -05:00
Folkert
390a50c537
use mainForHost generic in effect platform
2022-01-23 00:20:28 +01:00
Folkert
1328e4515d
use Task.loop in False
2022-01-21 20:57:03 +01:00
Folkert
06d506f63b
use Task.loop in Deriv
2022-01-21 20:01:45 +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
859bdf5212
Merge remote-tracking branch 'origin/trunk' into effect-forever
2022-01-19 20:14:24 +01:00
Folkert
aecafe5c80
add Task.forever to platforms
2022-01-19 19:32:18 +01:00
Jan Van Bruggen
1e9d2d1239
Remove accidental trailing spaces
2022-01-18 22:25:46 -07:00
ayazhafiz
2c41c43aea
Implement saturated add/subtract
2022-01-10 22:37:08 -05:00
ayazhafiz
4ea91b54eb
Fix additional unsigned sub overflow bug
2022-01-10 21:57:29 -05:00
ayazhafiz
b5225c87d8
Make sure quicksort only ever uses non-negative values
...
`low` can be zero, and so `low - 1` causes an integer overflow for
unsigned ints.
2022-01-10 21:10:35 -05:00
Joshua Warner
e236703c42
Add examples/benchmarks/issue2279 to gitignore
2022-01-03 20:16:38 -08:00
Folkert
fc4cea9f75
don't throw away a jump
2022-01-03 16:50:43 +01:00
Folkert
7044e95df8
fix imported function thunk
2022-01-03 16:18:53 +01:00
Folkert
06be340bee
add test for this issue
2021-12-31 21:48:14 +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
6786acb939
Remove redundant space in aliases
2021-12-21 18:16:58 -08:00
Joshua Warner
8b967f1ea8
Run formatter on all examples
2021-12-21 17:17:31 -08:00
Jan Van Bruggen
d03a51c75b
Rename base
package to pf
everywhere, to match tutorial
2021-12-12 05:57:39 -07:00
Brendan Hansknecht
8a45b1eed8
use ManuallyDrop instead of forget for rust host fx functions
2021-12-10 17:09:49 -08:00
Joshua Warner
8038758c99
Move comment in RBTreeChk.roc to _also_ not cause an internal compilation :face-palm:
2021-12-03 12:08:32 -08:00
Joshua Warner
7e70b3ecf9
Move comment in RBTreeChk.roc to not run afoul of formatting-idempotency bug (pre-req to auto-formatting all examples)
2021-12-02 20:16:42 -08:00
rvcas
023f7f44a7
chore: update examples that reference fromInt
2021-11-30 14:55:08 -05:00
Richard Feldman
48826c79f3
Add README to examples/cli
2021-11-29 09:24:58 -05:00
Folkert
c925613cdc
swap argument order
2021-11-26 23:16:47 +01:00
Folkert
b873cb0e01
update hello zig platform
2021-11-26 22:48:22 +01:00
Richard Feldman
414bad5b28
Delete executable that was accidentally checked in
2021-11-19 09:06:55 -05:00
Richard Feldman
1bfbd36662
Delete binary that was accidentally checked in
2021-11-19 08:52:45 -05:00
Richard Feldman
ef7052540f
Delete binary that was accidentally checked in
2021-11-19 08:52:34 -05:00
Nathan Bleigh
2dd86b1f18
Updates zig9 to zig
...
Referenced in https://github.com/rtfeldman/roc/pull/1905
2021-11-09 21:18:18 -06:00
Kevin Sjöberg
f6d055dc62
Correct minor spelling mistakes
2021-11-06 15:29:08 +01:00
Kevin Sjöberg
fa8f0bfae2
Ensure we return 0 in main
2021-11-03 19:45:43 +01:00
Folkert de Vries
416a143a7d
Merge branch 'trunk' into shritesh/hello-swift
2021-11-03 12:12:42 +01:00
Shritesh Bhattarai
d7262d4320
Add small RocStr support
2021-11-02 20:28:10 -04:00
Shritesh Bhattarai
bc63536938
A lot of todos but big RocStr works
2021-11-02 20:28:10 -04:00
Richard Feldman
ac42470c81
Drop unused libc deps
2021-11-02 19:37:38 -04:00
Richard Feldman
0bc3ff4ca5
Use std and core over libc where equivalent
2021-11-02 19:37:05 -04:00
Brendan Hansknecht
9798a27606
Merge branch 'trunk' into false-cleanup
2021-10-29 15:48:27 -07:00
Brendan Hansknecht
ecf22516fc
Switch to correct c ffi in false
2021-10-29 15:48:07 -07:00
Dan Knutson
6f7a26895a
handle small strings correctly
2021-10-25 20:22:37 -05:00
Brendan Hansknecht
056b10b36b
Merge branch 'trunk' into false-cleanup
2021-10-24 11:49:30 -07:00
Brendan Hansknecht
8f3254bee0
Stop dropping filename
2021-10-24 11:19:20 -07: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
Brendan Hansknecht
31651c6962
Fix minor typo
2021-10-21 20:21:20 -07: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
84950366b0
Merge remote-tracking branch 'origin/trunk' into false
2021-10-21 20:20:56 +02:00
Brendan Hansknecht
b4be6da3a4
Add cli test for false interpreter
2021-10-19 11:27:05 -07:00