bytecodealliance / wit-bindgen

A language binding generator for WebAssembly interface types
Apache License 2.0
952 stars 184 forks source link

Proposal: Add support for the MoonBit programming language #983

Open gmlewis opened 1 month ago

gmlewis commented 1 month ago

A nice addition would be to add support for the MoonBit programming language.

I would like to support this effort if possible with the understanding that my Rust skills are basically at the newbie level.

gmlewis commented 1 month ago

I discovered that work had already been started on this here: https://gitee.com/fantix/componentize-mbt so I forked this repo and translated it to English here: https://github.com/gmlewis/componentize-mbt

Next, I'll attempt to understand and run the examples and see if I can make it compatible with the latest version of the MoonBit compiler.

peter-jerry-ye commented 6 hours ago

@gmlewis I have an implementation that is almost complete https://github.com/peter-jerry-ye/wit-bindgen/tree/moonbit