Reference
Precise descriptions to look things up in. If you’re learning, start with the tutorial instead.
The Script Data Contract (spec/)
The files every Himawari tool agrees on. They are licensed CC BY 4.0, so you can implement them in your own software.
| Document | What it covers |
|---|---|
| Overview | What’s in the contract, and its versions |
| Script language | The .hws language for scenes |
| Grammar | The language’s grammar |
| Project manifest | himawari.json |
| Characters | Character files, including layered sprites |
| Themes | theme/theme.json: the look and layout of the built-in menus |
| Extensions | Signatures for custom statements written in C |
| Bytecode | The compiled .hwb format the runtime plays |
| Asset packs | .hwp packs and patches |
| Debug protocol | How Studio drives the game in its preview |
| AST | The script as JSON |
| License | CC BY 4.0 |
For AI assistants
| Document | What it covers |
|---|---|
| Agent guide | The rules Himawari gives an AI assistant |
| Script language for models | The language on two pages |
| AI setup | Connecting Claude Code or the Claude desktop app |
Tools
| Tool | What it is |
|---|---|
| Himawari Studio | The editor, with the game playing beside it |
hwc |
The command line: check, fmt, build [--release] [--patch], run, playtest, graph, l10n, report ai-content, ai setup, init, disasm |
himawari-mcp |
The server that lets Claude apps work on a project |
himawari.exe |
The runtime that plays a game, for example himawari --project <folder> while you’re developing |
The README in the repository has the build and command details.
Decisions and history
| Document | What it covers |
|---|---|
| RFCs | Written records of language and engine decisions |
| The plan | The full design and roadmap |
| Research | The evidence behind decisions |
| Log | Progress and the decision register |
Project policies
Contributing · Governance · Privacy · Security · Third-party notices