Skip to content
Discussion options

You must be logged in to vote

Yeah, that's... not a friendly place to start.

I think the only thing you need to do differently is to download the .c and .h files from here: https://github.com/janet-lang/janet/releases/tag/v1.27.0, and put them in a directory called janet. Then run:

emcc -I janet janet/janet.c your-actual-program.c

There's a little more to it afterwards because you need to then import and run the generated wasm from JavaScript, but that's not really Janet-specific.

This might actually be a better place to start:

That's how the repl on https://janet-lang.org is …

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@xrd
Comment options

@ianthehenry
Comment options

Answer selected by xrd
Comment options

You must be logged in to vote
1 reply
@ianthehenry
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants