Skip to content

docs: B16 - PREV, Change paradigm & language#1656

Merged
alex-byi merged 2 commits into
masterfrom
docs/B16
Jun 5, 2026
Merged

docs: B16 - PREV, Change paradigm & language#1656
alex-byi merged 2 commits into
masterfrom
docs/B16

Conversation

@alex-byi
Copy link
Copy Markdown
Collaborator

@alex-byi alex-byi commented Jun 5, 2026

No description provided.

alex-byi and others added 2 commits June 5, 2026 08:47
Complete the Paradigm tier for block B16: state the result class of both
abstractions, which the paradigm tier owns and was missing.

- Previous value (PREV): the resulting property has the same value class as
  the source property (verified against OldProperty.calcInferValueClass).
- Change operators: each creates a BOOLEAN property returning TRUE when the
  corresponding change occurred, NULL otherwise (verified against
  ChangedProperty.calcInferValueClass -> ExClassSet.logical and the
  getIncrementExpr where-formulas).

Scope semantics left as-is: PREV is always start-of-session (DB) and the
event-mode note for change operators already captures the user-facing rule;
the DB/EVENT scope selection is an internal optimization the paradigm tier
must not document.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Complete the Language tier for block B16: state the operand restriction that
the syntax tier owns and was missing.

The operand of a session operator must denote a property; a bare parameter
cannot be used (verified against ScriptingLogicsModuleChecks
.checkSessionPropertyParameter -> emitSessionOperatorParameterError
"single parameter could not be a parameter of a session operator").

Stated declaratively in the propExpr parameter item of both PREV_operator
and Change_operators, EN/RU in lockstep. Syntax blocks already reflect the
full grammar (single parenthesized property expression, six change-operator
keywords); no other gaps against the sessionPropertyDefinition rule.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@alex-byi alex-byi merged commit 8f4d2e2 into master Jun 5, 2026
1 check passed
@alex-byi alex-byi deleted the docs/B16 branch June 5, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant