rylev / wepl

A repl for WebAssembly Components
Apache License 2.0
105 stars 7 forks source link

Resolve string idents from scope #12

Closed ThorstenHans closed 6 months ago

ThorstenHans commented 6 months ago

This allows users to pass strings to function calls using local variables

wepl mymodule.wasm
World: root:component/root
> .exports
reverse: func(input: string) -> string
> foo = "bar"
foo: string
> reverse(foo)
"oof"
>