Changes between Version 47 and Version 48 of Language


Ignore:
Timestamp:
05/22/23 14:28:42 (3 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Language

    v47 v48  
    256256}}}
    257257
    258 === Scope relational expressions #scope-expressions
     258=== Scope expressions #scope-expressions
    259259
    260260Let ''s,,1,,'' and ''s,,2,,'' be expressions of [#scope-type type $scope]. The following are all CIVL-C expressions of boolean type:
     
    266266* ''s,,1,,''`>`''s,,2,,'' is equivalent to ''s,,2,,''`<`''s,,1,,''.
    267267* ''s,,1,,''`>=`''s,,2,,'' is equivalent to ''s,,2,,''`<=`''s,,1,,''.
     268
     269The expression ''s,,1,,''`+`''s,,2,,'' evaluates to the lowest common ancestor of ''s,,1,,'' and ''s,,2,,'' in the dynamic scope tree.
     270This is the smallest dynamic scope containing both ''s,,1,,'' and ''s,,2,,''.
    268271
    269272Each of these expressions is erroneous if ''s,,1,,'' or ''s,,2,,'' is undefined.