Stream: wasmtime

Topic: Optional typed interactive REPL for Wasmtime CLI


view this post on Zulip Afsal Thaj (Apr 20 2026 at 00:35):

Hi everyone,

I just opened a proposal to add an optional typed interactive REPL to the Wasmtime CLI for exploring WebAssembly Components:

https://github.com/bytecodealliance/wasmtime/issues/13136

It's based on rib-repl (which I maintain): a small, embeddable REPL with: - Static type checking against WIT metadata - Smart tab completion with auto-generated Wasm Wave argument placeholders - Syntax highlighting - Stateful let bindings with a persistent component instance

The goal is to make it much easier to experiment with complex component interfaces (records, variants, resources, etc.) without having to write a full host application every time.

Example command: wasmtime component repl my-component.wasm

I have a working prototype (feature-flagged under rib) and a short demo video attached below.

Happy to iterate based on feedback — especially around dependency size (feature-gated), feature flag design, and long-term maintenance.

What do you think? Any initial thoughts or preferences from the team?

Repo: https://github.com/golemcloud/rib
Language guide: https://golemcloud.github.io/rib/guide.html

wasmtime_repl_example.mov

image.png


Last updated: May 03 2026 at 22:13 UTC