Modeling Parser-IF with Chord
Chord is a modeling language for parser interactive fiction: declare rooms, things, people, and behavior as plain, compile-checked facts, and the compiler verifies every name, state, and topic before the game runs. Underneath runs Sharpee, a TypeScript platform you can also author against directly — one engine, two surfaces.
Chord — the language
An IF Modeling Language. One .story file, no build config; the compiler checks every name, state, and topic before the game runs. Install the CLI and scaffold a playable story in one command.
Sharpee — the platform
The TypeScript engine underneath: traits, four-phase actions, event-sourced turns, and a text system that never mangles an article. Author against it directly, or look under Chord's hood.
Learn — the Fernhill tutorial
Build "The Folly at Fernhill" in eight chapters: rooms and doors, people and patrols, timelines, a state machine, three endings, and a browser build with sound and images.
Play — in the browser
Fernhill, playable now. A self-contained static page that compiles the story source in your browser — the same build every author gets from one command.