Changes between Version 3 and Version 4 of BnFnotation
- Timestamp:
- Jul 12, 2011 1:21:52 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BnFnotation
v3 v4 1 1 = BNF Notation for HEML = 2 2 3 <metadescription> ::= <declaration> <dimensions> 4 <dimensions> ::= <dimension> {<dimensions>} 5 <dimension> ::= <logtopo> | <evtimeline> 6 <logtopo> ::= 3 metadescription> ::= declaration dimensions 7 4 5 declaration ::= '''define''' identifier ":" 8 6 7 dimensions ::= dimension {dimensions} 8 9 dimension ::= logtopo | evtimeline 10 11 logtopo ::= '''topology''' objects cardinality relationships 12 13 evtimeline ::= '''timeline''' definitions timeline invariants 14 15 objects ::= object {object} 16 17 object ::= alias | dobject 18 19 alias ::= obname "." obfield 20 21 dobject ::= obtype [obname] ":=" "{" obass "}" 22 23 obass ::= obass ["," obass] 24 25 obass ::= obvar | obstate 26 27 obvar ::= obtype obname ["=" value] 28 29 obstate ::= state "=" value 30 31 obname ::= identifier 32 33 obtype from list of object types 34 35 value ::= number | string 9 36 10 37 identifier ::= letter { letter | digit } 38 39 letter 40 diggit 41 number 42 string