Folkert
885500712c
remove old Effect module things
2022-02-03 23:55:02 +01:00
Folkert
a98635ed06
update other examples
2022-02-03 22:45:15 +01:00
Jan Van Bruggen
1e9d2d1239
Remove accidental trailing spaces
2022-01-18 22:25:46 -07: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
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
Folkert
c925613cdc
swap argument order
2021-11-26 23:16:47 +01:00
Brendan Hansknecht
7d1b88b3fb
Merge branch 'trunk' into integrate-linker
2021-09-23 21:12:40 -07:00
Folkert de Vries
693869336d
Merge branch 'trunk' into direct-return-known-types
2021-09-21 23:01:09 +02:00
Brendan Hansknecht
d710e78ab3
Merge branch 'trunk' into integrate-linker
2021-09-21 09:39:47 -07:00
Folkert
e319d1e758
make roc main return values, instead of write them into pointer
2021-09-19 22:05:48 +02:00
Folkert
c5eeaab2c2
remove callresult from cli examples
2021-09-19 18:34:42 +02:00
Brendan Hansknecht
da28b669bb
Get zig host working
2021-09-15 11:45:44 -07:00
Richard Feldman
e3292cff4e
Drop some more references to needing C++
2021-08-29 16:59:15 -04:00
Folkert
a12e18ca70
add roc_panic to all hosts
2021-08-16 22:46:00 +02:00
Richard Feldman
bc952641eb
Update docs to remove references to roc run
2021-08-05 23:15:00 -04:00
Folkert
e805e63db6
typos
2021-07-30 16:54:22 +02:00
Richard Feldman
66bdb210ed
Have Hello World write to a fd
...
This is a much nicer host to read than the one that does
all the gymnastics to convert to a null-terminated string
just to call printf!
2021-06-21 19:05:12 -04:00
Richard Feldman
2fc3305423
Have hello-world example use C
2021-06-13 10:49:18 -04:00
Folkert
e85ddc3506
fix examples
2021-06-07 20:29:16 +02:00
Richard Feldman
0b3715ebee
Rearrange arg order for roc_alloc etc
2021-05-24 21:01:12 -04:00
Richard Feldman
18df7fd24f
Make alignment be a u32
2021-05-23 23:46:09 -04:00
Richard Feldman
24e22bc31b
Have roc_alloc return a nullable pointer
2021-05-23 23:46:09 -04:00
Richard Feldman
175115ee4e
Have examples with zig hosts use roc_alloc etc
2021-05-23 23:46:09 -04:00
Richard Feldman
7a408e44da
s/Pkg-Config/Package-Config/g
2021-05-22 15:29:18 -04:00
Folkert
c68cd2fb2d
fix and test
2021-04-14 22:03:03 +02:00
Richard Feldman
ce6969d31f
Only do the compiler_rt workaround on macOS
2021-03-14 22:31:32 -04:00
Richard Feldman
58cf08349e
Don't check in binaries in examples
2021-03-14 22:31:32 -04:00
Folkert
a79a9ea253
use the compiler's str.zig from platforms
2021-01-31 23:11:02 +01:00
Folkert
b434bef1d3
use a zig platform for hello-world
2021-01-31 16:33:08 +01:00
Folkert
02d6e276cf
update configs
2021-01-31 15:59:47 +01:00
Folkert
0367a2c939
update hello-world
2020-12-08 23:35:41 +01:00
Richard Feldman
88d2ad1ffc
Use roc__ prefix for exposed app functions
2020-11-23 00:24:40 -05:00
Richard Feldman
759c047b4c
Add some .gitignores
2020-11-23 00:24:40 -05:00
Richard Feldman
ab1be6e394
Update examples
2020-11-23 00:08:49 -05:00
Folkert
acbb4c29b8
fully qualify symbols (with the module name) in generated IR
2020-11-10 20:15:59 +01:00
Folkert
cb1895a989
add more Pkg-Config.roc files
2020-11-07 23:10:38 +01:00
Folkert
06eff10fba
update hello-world
2020-11-02 01:42:04 +01:00
Folkert
5897a07962
use RocCallResult and pass-by-reference in all examples
2020-11-01 15:00:11 +01:00
Brendan Hansknecht
77b26c3193
Add RocStr and convert HelloWord example to use it
2020-10-12 16:51:09 -07:00
Richard Feldman
7e1166b3a2
Rebuild hosts automatically (for now)
2020-10-04 16:35:32 -04:00
Richard Feldman
856c01f706
Update hello-world platform
2020-10-04 16:35:26 -04:00
Richard Feldman
9f0b3bba9f
Update hello-world host
2020-10-04 16:34:56 -04:00
Richard Feldman
77b32147ad
Add host.rs in hello-world example
2020-10-04 16:34:40 -04:00
Richard Feldman
6b38dc5f77
return 0 from host.c
2020-10-04 16:34:38 -04:00
Richard Feldman
bec01e74e5
Add a TODO for fixing hello-world host.c
2020-10-04 16:34:36 -04:00
Richard Feldman
a108544fa8
Move host.c into platform/host/src
2020-10-04 16:34:08 -04:00
Richard Feldman
7a01d4eb7f
Update platform README
2020-10-04 16:34:04 -04:00
Richard Feldman
9741784604
Link precompiled hosts on Linux
2020-10-04 16:33:58 -04:00
Richard Feldman
740a2f0f77
wip
2020-10-04 15:58:13 -04:00