An overview of the imperative module's role and abilities.


§1. Prerequisites. The imperative module is a part of the Inform compiler toolset. It is presented as a literate program or "web". Before diving in:

§2. About this layer of Inform. The runtime and imperative modules (see What This Module Does (in imperative)) jointly make up a layer of Inform whose task is to take the conceptual structures now build up — rules, phrases, tables, the world model — and turn them into Inter code. For the bigger picture, see structure.

Neither module is in charge of the other. runtime makes extensive use of Functions (in imperative), while imperative uses Emit (in runtime) and Hierarchy (in runtime). The demarcation line is that: