Commit graph

11 commits

Author SHA1 Message Date
Agus Zubiaga
8dedd9f03c
New app header syntax
Implements the new app header syntax as discussed in Zulip [1].

    app [main] {
	cli: platform "../platform/main.roc",
	json: "../json/main.roc"
    }

Old headers still parse and are automatically upgraded to the new
syntax by the formatter.

[1] 418444862
2024-05-01 10:49:01 -03:00
Anton-4
a744536575
fix nodejs example
The naming mechanism has changed.
Instead of adding a test for this example now I'm going to make a good-first-issue to move this to the examples repo and add a test there. 

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-24 13:39:55 +01:00
Brian Teague
60c639b60e
Consolidate gitignore
Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
2024-01-10 22:16:04 -05:00
Vladimir Zotov
05938bbf07
Add missing WASI "random_get"
Fixes an error when hello.js is run: "LinkError: WebAssembly.Instance(): Import #2 module="wasi_snapshot_preview1" function="random_get" error: function import requires a callable"

Signed-off-by: Vladimir Zotov <azuresplash@gmail.com>
2023-12-29 09:26:36 +01:00
Vladimir Zotov
26c8471613
Updated to use alignOf consistently
Signed-off-by: Vladimir Zotov <azuresplash@gmail.com>
2023-12-10 08:45:20 +01:00
Vladimir Zotov
d6532bea18
Updated zig domain
Signed-off-by: Vladimir Zotov <azuresplash@gmail.com>
2023-12-09 17:39:59 +01:00
Brendan Hansknecht
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08:00
Brendan Hansknecht
40a40ef6d2
get examples working 2023-10-23 13:50:31 -07:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Richard Feldman
737a1ec025
Simplify wasm NodeJS example 2023-05-02 19:56:14 -04:00
Richard Feldman
70140206ab
Split nodejs wasm and napi examples 2023-05-01 15:54:53 -04:00