Commit Graph

19 Commits

Author SHA1 Message Date
Anthony Morris
3b20d0f382
Update demo.c
Fix small typo in the comments

Signed-off-by: Anthony Morris <amorriscode@gmail.com>
2024-05-14 18:59:25 -07:00
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] https://roc.zulipchat.com/#narrow/stream/304641-ideas/topic/Fewer.2Fdifferent.20keywords.20in.20the.20file.20header/near/418444862
2024-05-01 10:49:01 -03:00
Anton-4
9bf57d6337
Merge pull request #6530 from roc-lang/dependabot/npm_and_yarn/examples/nodejs-interop/native-c-api/ip-2.0.1
Bump ip from 2.0.0 to 2.0.1 in /examples/nodejs-interop/native-c-api
2024-02-28 13:14:25 +01: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
dependabot[bot]
3200d042cf
Bump ip from 2.0.0 to 2.0.1 in /examples/nodejs-interop/native-c-api
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 22:40:03 +00:00
Anton-4
3c7a834da1
update to new interpolation syntax 2024-02-02 13:39:10 +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
787d7f85ac
switch dbg arg ordering to make it backwards compatible 2023-12-02 21:18:32 -08:00
Brendan Hansknecht
13d2238536
update roc_dbg in platforms 2023-12-02 21:18:31 -08:00
Brendan Hansknecht
88106d1659
add basic roc_dbg impl to c platforms 2023-11-29 22:02:27 -08: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
Richard Feldman
bc1d202019
examples/typescript-interop -> nodejs-interop 2023-05-01 15:54:53 -04:00