Neva Language
Use this skill for changes touching *.neva or Neva code snippets.
CLI Discovery
- Use
neva --helpto list commands and global options. - Use
neva <command> --helpbefore relying on a command's flags or argument contract. - During repository development, run
go run ./cmd/neva --helporgo run ./cmd/neva <command> --helpwhen a local binary is unavailable. neva doc [package/path] [.] <pattern>searches the bundled standard library; use it to discover existing components before adding one.
Rules
- Read
docs/user/style_guide.mdbefore editing. - Keep edited
.nevafiles syntactically valid. - If syntax is uncertain, consult
internal/compiler/parser/neva.g4and nearby.nevaexamples before editing. - When feasible, validate changed Neva programs by compiling or running them.
- When editing documentation or snippets, prefer a quick local compile/run check of an equivalent minimal example.