Get Dialog version 0m/01 (library 0.44)! Also make sure to get the companion release, Å-machine tools 0.5.1.
(There is no language version “0l”, for reasons of typography.)
New language features
-
Added
(clear old)
to clear, from the main area, any text that the player has already had a chance to read. -
Added
(clear div)
to clear, hide, or fold away the current div. -
Added
(inline status bar $) ...
for a status area that appears as an ordinary div inside the main area. The inline status bar is removed from display when a new one appears.
The above three features are optional, and can be ignored by interpreters. They are supported by the Å-machine web interpreter (0.5.1).
- Added
(interpreter supports status bar)
and(interpreter supports inline status bar)
to check for these features at runtime.
Library improvements
A number of minor tweaks and bugfixes, most notably:
-
The default behaviour is now to close doors before locking them. Thanks @ifste!
-
It is now deemed unlikely to put something where it already is.
-
Certain actions (commands and
[inventory]
by default) now preserve the current implicit action as set up by(asking for object in $)
or(asking for direction in $)
. -
Changed
(narrate undoing)
to(narrate undoing $)
, where the parameter is the player input being undone, as a list of words. The default rule prints this.
Compiler improvements
-
Frontend: At most ten interface violation warnings are reported.
-
Frontend: Increased maximum size of word-to-object maps.
-
All backends:
(split word $ into $)
and(get key $)
now return digits as numbers. Thanks @Draconis! -
Z-backend: If the interpreter doesn’t support the unicode bullet (U+2022), an
*
is printed instead. -
Å-backend: Improved performance thanks to new Å-machine 0.5 features.