CALM

CALM Style Grammar (incomplete)

Top-level syntax.

Style.

    i0Id,iIdentifier-list,sStyle-Body
    style i0 extends i { s }

Style body.

    ε ∈ Style-Body

    s1 , s2Style-Body
    s1 ; s2Style-Body

Style body elements.

    sType-Spec
    sStyle-Body

    sMeta-Kind-Decl
    sStyle-Body

    sKind-Definition
    sStyle-Body

Meta-kinds.

Interface meta-kind

    id0Id , iIdentifier-list , bInterface-MK-Body
    metainterface id0 extends i { b }Meta-Kind-Decl

Interface meta-kind body

    ε ∈ Interface-MK-Body

    t1 , t2Interface-MK-Body
    t1 ; t2Interface-MK-Body

    aAttribute
    aInterface-MK-Body

Connector meta-kind

    id0Id , iIdentifier-list , bConnector-MK-Body
    metaconnector id0 extends i { b }Meta-Kind-Decl

Connector meta-kind body

    ε ∈ Connector-MK-Body

    t1 , t2Connector-MK-Body
    t1 ; t2Connector-MK-Body

    aAttribute
    aConnector-MK-Body

    rRole-Option
    rConnector-MK-Body

Component meta-kind

    id0Id , iIdentifier-list , bComponent-MK-Body
    metacompontn id0 extends i { b }Meta-Kind-Decl

Component meta-kind body

    ε ∈ Component-MK-Body

    t1 , t2Component-MK-Body
    t1 ; t2Component-MK-Body

    aAttribute
    aComponent-MK-Body

    pPort-Option
    pComponent-MK-Body

Calm style grammer last modified 11/01/07