Stream: general

Topic: wepl (The WebAssembly REPL)


view this post on Zulip Ryan Levick (rylev) (Sep 13 2023 at 08:33):

Announcement: I have a POC for a new tool called wepl (The WebAssembly REPL).

This tool allows you to interact with WebAssembly components in a continuous and dynamic way. The following features are currently supported:

Here's what a session might look like:

$ wepl mycomponent.wasm
> .exports
uppercase_and_suffix: func(input: string) -> string
> uppercase_and_suffix
uppercase_and_suffix: func(input: string) -> string
> s = "hello"
s: string
> .link suffix my_suffixer.wasm
> uppercase_and_suffix(s)
"HELLO!!"

Some future features would likely include:

I think this could be really useful, but I'm not sure what others will think, so feedback is very much appreciated.

A repl for WebAssembly Components. Contribute to rylev/wepl development by creating an account on GitHub.

Last updated: Oct 23 2024 at 20:03 UTC