This commit is contained in:
Tony Garnock-Jones 2022-02-25 14:47:27 +01:00
parent fd1e0d5258
commit f11cacf513
1 changed files with 5 additions and 6 deletions

View File

@ -108,9 +108,9 @@ compiled and executed in order. NB: to publish a sequence of values, use the `+=
*RetargetInstruction* = `$`*var*
The target can be set with a plain variable reference. After compiling such an instruction, the
active target register will contain the variable name *var*. NB: to publish the contents of a
variable, use the `+=` form of *AssertionInstruction*.
The target is set with a variable reference standing alone. After compiling such an
instruction, the active target register will contain the variable name *var*. NB: to publish
the contents of a variable, use the `+=` form of *AssertionInstruction*.
### Publishing an assertion
@ -124,9 +124,8 @@ The most general form of *AssertionInstruction* is "`+= `*ValueExpr*". When eval
result of evaluating *ValueExpr* will be published (asserted) at the entity denoted by the
active target register.
As a convenient shorthand, the compiler also interprets every plain Preserves record or
dictionary in *Instruction* position as denoting a *ValueExpr* to be used to produce a value to
be asserted.
As a convenient shorthand, the compiler also interprets every Preserves record or dictionary in
*Instruction* position as denoting a *ValueExpr* to be used to produce a value to be asserted.
### Sending a message