Commit graph

49 commits

Author SHA1 Message Date
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
Richard Feldman
fa288a1404 Use explicit ld invocation instead of ar 2020-10-04 15:58:13 -04:00
Brendan Hansknecht
a2069a88db Merge branch 'trunk' into str-refcount 2020-09-30 15:12:17 -07:00
Anton-4
01b7172085 Added troubleshooting for examples 2020-09-30 13:47:54 +02:00
Brendan Hansknecht
f532a758d9 Add refcount decrementing to big strings 2020-09-28 20:32:32 -07:00
Chad Stearns
a318253d48 small str implementation in string literal, and bringing in remote trunk 2020-09-09 21:53:38 -04:00
Richard Feldman
456b599baa Fix hello-world example 2020-08-10 21:25:47 -04:00
Richard Feldman
d9bf295d42 Update hello-world README 2020-07-22 19:34:57 -04:00
Richard Feldman
5c31369072 Code gen thunks for top-level module decls 2020-05-01 19:30:55 -04:00
Richard Feldman
d4a45ed489 Add CLI subcommands roc run and roc build 2020-04-18 14:32:50 -04:00
Richard Feldman
62723824dd Drop obsolete examples/hello-world/HelloStr.roc 2020-04-16 22:21:19 -04:00
Richard Feldman
f5c18ff4d4 Move examples' .gitignore files up a level 2020-04-16 21:19:38 -04:00
Richard Feldman
b19386c1f6 Have CLI use the given file's directory as src_dir 2020-04-16 19:26:25 -04:00
Richard Feldman
1517581ced Load main in the CLI and use it for gen 2020-04-15 07:06:11 -04:00
Richard Feldman
61f836e964 Switch examples to use app modules 2020-04-15 07:06:11 -04:00
Richard Feldman
950ca4436b Replace build.sh with cargo run 2020-04-06 23:32:47 -04:00
Richard Feldman
a2d538f347 Update build.sh to no longer need gcc 2020-04-06 20:56:42 -04:00
Richard Feldman
a4a53c8e83 Add quicksort example 2020-04-05 09:28:49 -04:00
Richard Feldman
cc555dd880 Update hello-world README 2020-03-31 21:15:39 -04:00
Richard Feldman
083777cbcd s/helloworld/hello-world/g 2020-03-30 22:25:06 -04:00