Inform 2

1 program Added 2026-02-10T15:02:35Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 4ed97db3de · authored 2026-02-10T16:03:20+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.54)Inform 1 (0.54)Inform 4 (0.54)Inform 5 (0.54)Inform 6 (0.44)

LLM-contributed programs

Hello World

Provenance: commit 4ed97db3de · authored 2026-02-10T16:03:20+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.inf · added: 2026-02-10T15:02:35Z
! Hello World in Inform 2
! A simple interactive fiction game

Constant Story "Hello World";
Constant Headline "^An Example Inform 2 Program^";

Include "Parser";
Include "VerbLib";

Object StartRoom "Starting Room"
  with description "You are in a simple room. A greeting appears before you.",
  has light;

[ Initialise;
  location = StartRoom;
  print "^^Hello, World!^^";
];

Contribute — propose a file extension

Tell us where to find evidence about Inform 2 (mapped to pl/inform_2). 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 2/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Inform 1 Inform 3 →