This programming language may be used to instruct a computer to perform a task.
|Execution method:||Compiled (bytecode)|
|Parameter passing methods:||By value|
|Type safety:||Safe, Unsafe|
|Type expression:||Implicit, Explicit|
|Type checking:||Dynamic, Static|
Inform 7 is a language for creating interactive fiction, with a syntax similar to English. Although it has some object-oriented features, it is primarily rule-based: most code takes the form of "rules", which are placed into rulebooks, which are invoked by the library in response to player commands and other events.
An Inform 7 program also contains a set of initially constructed objects, called the world model. These objects are organized into a hierarchy of classes (called "kinds"), although there is no method invocation; objects only contain data. The relations between objects are modeled at a high level: physical relationships such as containment (the water is in the glass) and supporting (the glass is on the table) are predefined, and new relationships such as desire (the troll wants the diamond) or lock-fitting (the bronze key fits the bronze lock) can be created.
This category has the following 3 subcategories, out of 3 total.
Pages in category "Inform 7"
The following 43 pages are in this category, out of 43 total.