Continue locally

moon new creates a small project. check catches source errors, run compiles and launches, and build leaves standalone executables. fmt --check and lint keep style and policy visible.

Use moon doc for API details, and the language reference or editor navigation when you need an exact rule or declaration.

fn main() {
  println("Hello moon")
}
Run locally
moon new hello && cd hello && moon check && moon run && moon test . && moon fmt --check . && moon lint .
Ctrl/⌘+Enter checks the current lesson.