CompilationUnit: ModuleStatement ( ; ModuleStatement)* ModuleStatement: Reference | ChildrenCedar | CellDef Reference: (Directory | Open | Imports | Library) IDList IDList: ID ( , ID)* ChildrenCedar: CEDAR CedarDeclarationSeries CedarStatementSeries CellDef: IDList : CellConstructor CellConstructor: CELL CellInterface CellStatement* ENDCELL CellInterface: NULL | [ [Port ( , Port)*] ] Port: IDList DirectionFlag NodeTypeConstructor Switch* DirectionFlag: < | = | > Switch: - ID NodeTypeConstructor: ID [[ [ArgList] ]] ArgList: Arg ( , Arg)* Arg: ID | CedarRopeLiteral | CedarIntegerLiteral CellStatement: StateDef | InitDataDef | DefaultInitDef | Initializer | Expansion | Tester | Behavior StateDef: (State | InittableState) CedarVariantFieldList InitDataDef: InitData CedarVariantFieldList DefaultInitDef: (DefaultInitExpr CedarExpressionTerminatedWithVerticalBar) | (DefaultInitData CedarComponentList) CedarExpressionTerminatedWithVerticalBar: Initializer: Initializer CedarDeclarationSeries CedarStatementSeries Tester: (BlackBoxTest | TestStateToo) CedarDeclarationSeries CedarStatementSeries Behavior: EvalName CedarDeclarationSeries CedarStatementSeries EvalName: ValsChanged | InitQ | PropQ | InitUD | PropUD | FinalUD | EvalSimple | FindVicinity Expansion: Expand ExpansionStatement ( ; ExpansionStatement)* ExpansionStatement: NodeInstantiation | CellInstantiation | ChildrenCedar NodeInstantiation: IDList : NodeTypeConstructor [ _ RopeLiteral ] CellInstantiation: IDList : CellInstanceConstructor CellInstanceConstructor: ID [[ [ArgList] ]] [ InitDataConstructor ] InitDataConstructor: init CedarExpressionTerminatedWithVerticalBar θRosemary>RoseGrammar.Tioga Last Edited by: Spreitzer, March 14, 1984 10:50:38 am PST Terminals are in bold face; syntactic categories and meta-characters are plain. Syntactic categories whose names begin with "Cedar" are from the Cedar language, unless otherwise noted. All of the References must come before any of the others. A Cedar expression, with vertical bars doubled, followed by a vertical bar. Example: "This is a rope literal containing a single `||' (vertical bar)" | Κ– "cedar" style˜Icode™J™9J™JšœΟbœ:™OJ™hK˜Kšœ#œ˜6K˜šœ4˜4K™9—K˜Kš œ  œœœœ˜8K˜Kšœ œ˜K˜Kšœœ8˜LK˜Kšœœ˜!K˜Kšœœ˜:K˜Kšœœœ œ ˜+K˜Kšœ6˜6K˜Kšœœœ˜K˜Kšœœ˜ K˜Kšœœ œ˜'K˜Kšœœ˜K˜K˜0K˜K˜dK˜Kšœ œœ#˜DK˜Kšœ œ"˜7K˜Kšœœ.œ ˜}K˜šœ)˜)K™K™K™B——K˜Kšœ  œ8˜PK˜Kšœ  œ œ9˜]K˜KšœJ˜JK˜Kšœ  œœœœœœ œ ˜]K˜Kšœ œœ˜=K˜KšœI˜IK˜Kšœœœ˜AK˜Kšœœ˜3K˜Kšœœ œ˜CK˜Kšœœ)˜BK˜—…—β θ