8.6. Standard variables: technical design decisions

The modeller can use a number of standard variables in his expressions. The semantics of these variables is given in the text Understanding a Perspective source text, but here is a summary:

  • origin can be used in every expression. It is the role or context instance the expression is applied to.

  • currentcontext can be used in every expression. It is the lexical current context of the expression.

  • currentactor can be used in the scope of do and action. It is the lexical current subject.

  • notifieduser can be used in the scope of notify. It is the lexical current subject.

In this text I explain how these variables are implemented.