Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Add support for the MoonBit programming language #983

Open
gmlewis opened this issue Jun 24, 2024 · 4 comments
Open

Proposal: Add support for the MoonBit programming language #983

gmlewis opened this issue Jun 24, 2024 · 4 comments

Comments

@gmlewis
Copy link

gmlewis commented Jun 24, 2024

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
Copy link
Author

gmlewis commented Jun 24, 2024

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
Copy link
Contributor

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

@gmlewis
Copy link
Author

gmlewis commented Jul 31, 2024

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?

@peter-jerry-ye
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants