Charlotte.jl icon indicating copy to clipboard operation
Charlotte.jl copied to clipboard

Nicer export interface

Open MikeInnes opened this issue 7 years ago • 0 comments

We should be able to write something like

@wasm begin
  foo(Int, Int)::Int
  bar(Float64)::Bool
end

and have this directly create a WebAssembly binary. Perhaps even wrapper code so that foo and bar can be immediately imported and used from JS.

MikeInnes avatar Mar 14 '18 13:03 MikeInnes