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
Brendan Hansknecht
0ca6a3d723
Add readme to false interpreter
2021-10-19 11:15:37 -07:00
Brendan Hansknecht
fcbc4ef206
Clean up extra print outs
2021-10-19 09:33:16 -07:00
Brendan Hansknecht
ddef6ab0f8
Make happy again with trunk
2021-10-16 11:41:14 -07:00
Brendan Hansknecht
0d4ef43470
Merge branch 'trunk' into false
2021-10-16 11:23:59 -07:00
Folkert
19eadbfe70
make list inc/dec non-recursive (except when freeing the list)
2021-10-14 19:57:23 +02:00
Folkert
94e8c62613
make things compile, base64 has a memory leak
2021-10-06 22:57:11 +02:00
Richard Feldman
13a855f8dd
Fix Bytes in benchmarks
2021-10-05 21:08:11 -04:00
Richard Feldman
81b6160815
Fix List.walk in Base64.Encode
2021-10-05 20:58:48 -04:00
Brendan Hansknecht
200e823ae6
Switch to List.dropAt
2021-10-05 14:15:53 -07:00
Brendan Hansknecht
86699eda90
Merge branch 'trunk' into false
2021-10-05 13:23:31 -07:00
Brendan Hansknecht
75eccf5bac
Switch loading file chunks to list of bytes instead of string
2021-10-03 14:56:09 -07:00
Brendan Hansknecht
3943ff9ffd
remove giant log file
2021-10-02 19:51:16 -07:00
Brendan Hansknecht
21d978bab8
Switch to 32bit number representation and fix cksum
2021-10-02 19:50:18 -07:00
Brendan Hansknecht
9920d5e6b8
Rewrite interpreter into state machine to reduce nested lambda calls
2021-10-02 15:35:24 -07:00
Brendan Hansknecht
88069b679a
Fix withOpen
2021-10-02 10:40:16 -07:00
Brendan Hansknecht
f412ffd2d0
Remove '*'s and make error union nice
2021-10-02 10:22:32 -07:00
Brendan Hansknecht
e7cba9fb88
Switch to custom cksum script from old crc32. use constants to make it faster
2021-09-30 22:08:14 -07:00