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

misc(moonbit): language update for MoonBit #1100

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

peter-jerry-ye
Copy link
Contributor

This PR contains changes to keep update with the programming language MoonBit

  • It updates some visibility decoration based on the grammar change
  • It switches the type Bytes to FixedArray[Byte] as per language design of having Bytes as an immutable data structure. In the future, for imported functions, more variants may be provided to avoid transformation between data types.
  • It uses Float for all f32 occurrences.

It also adds two new options

  • User can choose not to generate moon.mod.json, which may be useful if it were inside a larger project, or
  • User can choose the generated project name / package name instead of using the one defined in the WIT file.

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

Successfully merging this pull request may close these issues.

1 participant