Skip to main content

Module shape

Module shape 

Source
Expand description

Structural shape constraints for dialect messages (REQ-220, REQ-223, REQ-224).

Shape constraints declare the required structure of expanded messages: which keyword parameters must or may be present, their expected atom types, and maximum nesting depth.

Shape checking is monotonic — it is a positive assertion about the structure of an immutable S-expression. VPL ⊂ DCFL (Alur & Madhusudan 2004).

Structs§

ShapeConstraint
A shape constraint for a performative (REQ-220).
ShapeViolation
A violation found during shape checking (REQ-223).

Enums§

ShapeRule
A single shape rule within a shape constraint (REQ-221).
TypeConstraint
Recognised type constraints for shape rules (REQ-221, SPEC-038 CON-3801).