[add] Openwolf

This commit is contained in:
2026-04-05 20:16:35 +02:00
parent 81e9760e5c
commit fc18af576e
5 changed files with 109 additions and 11 deletions
+17 -11
View File
@@ -1,3 +1,9 @@
# OpenWolf
@.wolf/OPENWOLF.md
This project uses OpenWolf for context management. Read and follow .wolf/OPENWOLF.md every session. Check .wolf/cerebrum.md before generating code. Check .wolf/anatomy.md before reading files.
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
@@ -25,18 +31,18 @@ This produces a `.z5` story file playable in any Z-machine interpreter (Frotz, L
**Source files by function:**
| File | Purpose |
|------|---------|
| `s4.zil` | Main file; game title, file includes, property defaults |
| File | Purpose |
| ------------- | -------------------------------------------------------------------------------------- |
| `s4.zil` | Main file; game title, file includes, property defaults |
| `globals.zil` | Global variables, directions, meta-objects (ROOMS, IT, NOT-HERE-OBJECT, LOCAL-GLOBALS) |
| `parser.zil` | Text parser — tokenizing input, resolving nouns/adjectives, disambiguation |
| `syntax.zil` | Vocabulary: BUZZ words, SYNONYMs, direction aliases, verb SYNTAX definitions |
| `verbs.zil` | Verb handler routines (`V-TAKE`, `V-DROP`, `V-EXAMINE`, etc.) and game commands |
| `misc.zil` | Utility routines, interrupt/clock system, macros |
| `earth.zil` | Earth locations — Arthur's bedroom, front of house, pub, country lane |
| `vogon.zil` | Vogon ship — hold, guard's room, airlock, poetry appreciation |
| `heart.zil` | Heart of Gold — bridge, engine room, corridors, Infinite Improbability Drive |
| `unearth.zil` | Off-Earth locations — Traal (Ravenous Bugblatter Beast), Damogran, Magrathea |
| `parser.zil` | Text parser — tokenizing input, resolving nouns/adjectives, disambiguation |
| `syntax.zil` | Vocabulary: BUZZ words, SYNONYMs, direction aliases, verb SYNTAX definitions |
| `verbs.zil` | Verb handler routines (`V-TAKE`, `V-DROP`, `V-EXAMINE`, etc.) and game commands |
| `misc.zil` | Utility routines, interrupt/clock system, macros |
| `earth.zil` | Earth locations — Arthur's bedroom, front of house, pub, country lane |
| `vogon.zil` | Vogon ship — hold, guard's room, airlock, poetry appreciation |
| `heart.zil` | Heart of Gold — bridge, engine room, corridors, Infinite Improbability Drive |
| `unearth.zil` | Off-Earth locations — Traal (Ravenous Bugblatter Beast), Damogran, Magrathea |
**Assembly files (`.xzap`):** `s4.xzap` is the assembly include order; `s4freq.xzap` defines frequently-used strings (Huffman-compressed). `s4.errors` is the assembler output log.