substitutefor

software · Q1046

Inform

Natural-language-style programming system for parser-based interactive fiction.

Suggest a correction

Overview

Inform is a programming system for interactive fiction whose source resembles written English. Authors describe a starting world and rules governing actions, then compile a story for an interpreter. It is particularly suited to text adventures involving rooms, objects and player commands; its natural-language-style syntax remains a formal programming language.[1][2][3]

World and rule design

Authors establish the initial arrangement of objects through assertions, then write rules that respond to play. A parser turns a player's wording into an action such as taking an object; the action can succeed or fail under the rules. Instead rules can intercept default behavior for a particular circumstance, giving authors a way to implement puzzles and responses without listing every possible sentence a player might type.[2][4][5]

Language boundaries

The English-like appearance changes the writing experience, but does not remove programming constraints. The manual explicitly limits comprehension to supported sentence forms and warns that seemingly reasonable alternatives can fail. A project therefore needs precise declarations and attention to ambiguity. Learning the documented grammar is part of authoring, rather than expecting a prose description of an imagined game to generate all its behavior.[3]

Testing command paths

The Skein records command sequences from different playthroughs as branching paths. An author can choose a recorded command, recompile the source and replay from the beginning to that point, then explore another variation. This helps revisit a puzzle after changing its rules. It does not exhaustively test every possible interaction, and its interface differs somewhat across the desktop applications.[6]

Story formats and browser releases

The manual describes Glulx as the default output and a version-8 Z-machine option for specific compatibility needs. Format capacity and interpreter availability influence the choice, with Z-machine memory limits especially relevant to larger works. Browser releases bundle an encoded story with a JavaScript interpreter and a website. A playable browser page is therefore a packaged runtime, not the authoring application itself.[7][8]

Tools and versions

Windows, macOS and Linux authoring applications are available, but their similar interfaces sit on separate codebases. The core repository also supplies command-line tools and warns that development work can be unreleased. Authors should match the compiler, extensions and documentation used by a project rather than equating repository activity with a stable packaged release. This article does not verify every operating-system version or extension combination.[1][10]

Licensing

The core package uses Artistic License 2.0. Its copyright policy expressly excludes generated story files from inheriting that license as an obligation, while GUI applications and separately included programs have their own terms. This separates permission to distribute an original story from permission to redistribute a modified toolchain. Imported illustrations, sound and third-party extensions also need to be considered on their own terms.[9]

Substitution considerations

Inform can substitute for TADS when creating parser-based fiction built around objects, locations and actions. Inform's rules and assertions offer a different authoring model from TADS's C-like language and object-library workflow. The overlap supports a choice for a new project, not a claim of automatic source conversion or shared save files. Existing work would need its behavior reimplemented and tested; no hands-on migration was performed.[2][4][11][12]

Capabilities & limitations

World modeling and actions

supported

Assertions establish objects and relationships; rules govern responses to parsed actions.[2][4][5]

Parser-based interactive fiction with modeled objects and actions · Windows authoring, macOS authoring, Linux authoring, Interpreter-dependent runtime, Web interpreter output · Version, build and integration requirements apply

3 sources · check evidence
https://ganelson.github.io/inform-website/book/WI_2_1.html

Assertions define the initial state; rules govern subsequent play

vendor · checked 2026-10-07
https://ganelson.github.io/inform-website/book/WI_7_1.html

Player commands, action outcomes and diagnostic logging

vendor · checked 2026-10-07
https://ganelson.github.io/inform-website/book/WI_7_2.html

Circumstantial rules replace default action processing

vendor · checked 2026-10-07

Natural-language-style authoring

limited

Supported sentence patterns form a programming language; arbitrary English descriptions are not accepted automatically.[3]

Parser-based interactive fiction with modeled objects and actions · Windows authoring, macOS authoring, Linux authoring, Interpreter-dependent runtime, Web interpreter output · Version, build and integration requirements apply

1 source · check evidence
https://ganelson.github.io/inform-website/book/WI_2_16.html

Formal supported syntax rather than arbitrary English

vendor · checked 2026-10-07

Replay testing

supported

The Skein records branching command histories that can be replayed against newly compiled source.[6]

Parser-based interactive fiction with modeled objects and actions · Windows authoring, macOS authoring, Linux authoring, Interpreter-dependent runtime, Web interpreter output · Version, build and integration requirements apply

1 source · check evidence
https://ganelson.github.io/inform-website/book/WI_1_7.html

Recorded command paths and replay from recompiled source

vendor · checked 2026-10-07

Browser distribution

limited

A release can include a JavaScript story interpreter; behavior depends on target format and interpreter.[7][8]

Parser-based interactive fiction with modeled objects and actions · Windows authoring, macOS authoring, Linux authoring, Interpreter-dependent runtime, Web interpreter output · Version, build and integration requirements apply

2 sources · check evidence
https://ganelson.github.io/inform-website/book/WI_25_11.html

Website and JavaScript interpreter packaging

vendor · checked 2026-10-07
https://ganelson.github.io/inform-website/book/WI_2_14.html

Glulx default, Z-machine option and format capacity

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

TADS for Parser-based interactive fiction with modeled objects and actions

limited

Can replace TADS for newly authored parser fiction with modeled objects and actions when rule-based English-like source is preferred. This requires reimplementation, not source or saved-game interchange.[2][4][11][12]

Windows authoring, macOS authoring, Linux authoring, Interpreter-dependent runtime, Web interpreter output · Version, build and integration requirements apply

References

  1. Inform website

    Language scope and desktop app links

    vendor · retrieved 2026-10-07
  2. Creating the world

    Assertions define the initial state; rules govern subsequent play

    vendor · retrieved 2026-10-07
  3. Does Inform really understand English?

    Formal supported syntax rather than arbitrary English

    vendor · retrieved 2026-10-07
  4. Inform actions

    Player commands, action outcomes and diagnostic logging

    vendor · retrieved 2026-10-07
  5. Instead rules

    Circumstantial rules replace default action processing

    vendor · retrieved 2026-10-07
  6. The Skein

    Recorded command paths and replay from recompiled source

    vendor · retrieved 2026-10-07
  7. Limits and settings

    Glulx default, Z-machine option and format capacity

    vendor · retrieved 2026-10-07
  8. A playable web page

    Website and JavaScript interpreter packaging

    vendor · retrieved 2026-10-07
  9. Inform copyright policy

    Artistic-2.0 package, output exception and separate GUI licenses

    vendor · retrieved 2026-10-07
  10. Inform core repository

    Separate app codebases and unstable development warning

    vendor · retrieved 2026-10-07
  11. TADS authoring overview

    C-like authoring language and interpreter model

    vendor · retrieved 2026-10-07
  12. TADS Adv3 object library

    World model and parser responsibilities

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
10942026-10-13 20:01:29/* wbeditentity-create-item:0| */ sf:3ac8f962-cf02-4502-a8ce-b7bb6ed5d55a:v1 | Add Inform with rule-based world modeling, replay testing and interpreter-dependent distribution; distinguish natural-language syntax from arbitrary English. | attribution: /proposals/3ac8f962-cf02-4502-a8ce-b7bb6ed5d55a