Inform 3

1 program Added 2026-02-10T14:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Inform-3
Provenance: commit d16b3ed6a8 · authored 2026-02-10T15:57:50+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Inform 0 (0.41)Inform 1 (0.41)Inform 2 (0.41)Inform 4 (0.41)Inform 5 (0.41)

LLM-contributed programs

A Simple Room

Provenance: commit d16b3ed6a8 · authored 2026-02-10T15:57:50+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.inf · added: 2026-02-10T14:30:00Z
! A Simple Room - Inform 3 Example
! Based on classic Inform 3 syntax

Constant Story "A Simple Room";
Constant Headline "^An Interactive Fiction^";

Include "Parser";
Include "VerbLib";

Object StartRoom "A Simple Room"
  with description
    "You are in a simple room. There is a door to the north.",
  n_to corridor,
  has light;

Object corridor "Corridor"
  with description
    "A long corridor stretches before you. The room is to the south.",
  s_to StartRoom,
  has light;

Object -> box "wooden box"
  with name 'wooden' 'box',
    description "A simple wooden box.",
  has container openable;

[ Initialise;
  location = StartRoom;
  "^Welcome to A Simple Room!^";
];

Include "Grammar";

Contribute — propose a file extension

Tell us where to find evidence about Inform 3 (mapped to pl/inform_3). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Inform 3/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Inform 2 Inform 4 →