moonbit
Installation
SKILL.md
MoonBit Development Guide
Quick Start
MoonBit is an expression-oriented language with garbage collection (no lifetimes/ownership). Key characteristics:
- Expression-oriented:
if,match, loops return values - Block separator: Use
///|between top-level declarations - Error handling: Checked errors with
raisekeyword, automatic propagation - Packages: No
importin code; configure inmoon.pkg/moon.pkg.json
Agent Workflow
Follow this order for reliable task execution: