Skip to content

docs: B15 - Constraints paradigm & language#1652

Merged
alex-byi merged 3 commits into
masterfrom
docs/b15
Jun 5, 2026
Merged

docs: B15 - Constraints paradigm & language#1652
alex-byi merged 3 commits into
masterfrom
docs/b15

Conversation

@alex-byi
Copy link
Copy Markdown
Collaborator

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

No description provided.

alex-byi and others added 3 commits June 4, 2026 15:41
Constraints / Simple constraints paradigm articles (en+ru in lockstep):
- add a Language section to Simple constraints linking the realizing
  constructions (the => statement for the consequence, the NONULL option
  for the definiteness constraint).
- keep the simple-constraint comparison table tier-pure: the keyword-only
  "Statement" row becomes an abstract "Implementation" availability row.
- sync EN/RU: link the default value to the Built-in classes anchor in EN
  as RU already does; align the EN Constraints CHECKED BY example comment.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
CONSTRAINT and => statements (en+ru in lockstep), verified against the
grammar and addConstraint/addFollows:
- mark the event clause optional ([eventClause]) and note the global APPLY
  event is used when omitted (baseEventPE is fully optional, default APPLY).
- CONSTRAINT: the PROPERTIES list holds expressions over the constraint
  condition's parameters (nonEmptyPropertyExpressionList), not plain
  property ids; rename to outExpr and describe accordingly.
- CONSTRAINT: the MESSAGE value may be any parameterless expression
  (propertyExpression in an empty context), with a string literal or a
  parameterless property as examples.
- => : document RESOLVE as two independent, combinable options
  ([RESOLVE [LEFT] [RIGHT]]), described as separate options, and word the
  prose accordingly.
- => : fix the EN RESOLVE RIGHT equivalence example, which had the premise
  and consequence swapped (right resolution drops the premise when the
  consequence is dropped), matching RU and addFollows.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Reviewers repeatedly flag ../<type>/<name>.md cross-type links as broken,
assuming filesystem resolution. Record that the type-first layout uses
these relative paths, that they resolve by the target's document id, and
that they must not be treated as broken just because the literal path has
no on-disk sibling.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@alex-byi alex-byi merged commit 87e7bd6 into master Jun 5, 2026
1 check passed
@alex-byi alex-byi deleted the docs/b15 branch June 5, 2026 05:39
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