ModelingValueGroup / dclareForMPS

Adding declarative, reactive and incremental rules to MPS
GNU Lesser General Public License v3.0
21 stars 4 forks source link

Generalization of RuleSet [WIP] #115

Open Gattag opened 1 year ago

Gattag commented 1 year ago

Proposal to simplify rule sets and increase notational flexibility

final concept RuleSet {
  child ruleSetName   : RuleSetName    [0-1]
  child members       : IRuleSetMember [0-n]
  ref   aspect        : Aspect         [1]
}

concept RuleSetName {
  prop name : string
}

interface IRuleSetMember { }

concept Context implements IRuleSetMember, ThisContext {
  child contextType : ContextType     [1]
  child members     : IContextMembers [0-n]
}

interface IContextMember { }

interface Feature implements IContextMember { }

TODO