Proposal: Add support for the MoonBit programming language
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.
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.
@gmlewis I have an implementation that is almost complete https://github.com/peter-jerry-ye/wit-bindgen/tree/moonbit
Wow, @peter-jerry-ye - your branch looks amazing!!!
One question - I noticed that in some places you use moon-bit and others you use moonbit - would it be possible to always refer to it as the latter so that we don't have to remember when to add the hyphen?
@gmlewis Updated. moon-bit is just the plain snake-case version of MoonBit but yes it does not really make sense. Also we will add type Float soon so that we can cooperate with APIs with f32 (e.g. spin's AI interface). Then we may conclude the project.
I believe this is now in-tree, so I'm going to close this