Skip to main content

Status

The grammar accepts more than the compiler handles. The table lists the constructs where the two part ways: a supported construct compiles and verifies, a rejected one parses and the validator reports the named diagnostic at its source line, a planned one does not parse yet. The compiler's tests check every row, and this page is generated from the same table, so it describes the current build.

ConstructStatus
Exclusive range a..<bSupported
Array literals [a, b, c]Supported
Indexing a[K] (constant)Supported
Indexing a[i] (runtime)Supported
Array [lb..ub] multiplicitySupported
Class-typed arraysSupported
Feature-typed arraysSupported
Local arraysSupported
Local arrays of class or feature typeSupported
Parameter arraysRejected by the validator (OXSTS.UNSUPPORTED_FEATURE)
Unbounded variable multiplicity [], [lb..*]Rejected by the validator (OXSTS.TYPE_MISMATCH)
Call through a variable v.t()Supported
Member read through a variable v.xSupported
Write through a variable v.x := eRejected by the validator (OXSTS.UNSUPPORTED_FEATURE)
Optional read through a variable v?.xRejected by the validator (OXSTS.UNSUPPORTED_FEATURE)
Optional call through a variable v?.t()Rejected by the validator (OXSTS.UNSUPPORTED_FEATURE)
record X { ... }Supported
Record literal Point { x = 0 }Supported
Arrays of records, array fields in recordsRejected by the validator (OXSTS.UNSUPPORTED_FEATURE)
Record-typed featuresRejected by the validator (OXSTS.UNSUPPORTED_FEATURE)
Multiple inheritance class C : A, BRejected by the validator (OXSTS.MULTIPLE_INHERITANCE)
fun declarationsPlanned
pattern declarationsPlanned
AF, EG, AX, EX temporal operatorsPlanned