Changes between Version 18 and Version 19 of NameSpaces


Ignore:
Timestamp:
2017-09-11 21:05:22 (8 years ago)
Author:
archibald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NameSpaces

    v18 v19  
    1010To store namespaces we need a structure similar to that detailed below ... [wiki:NotationExplaination explaination of the notation] 
    1111 
    12 == DATA DEFINITION == 
     12== DATA DEFINITION ( .tdx ) == 
    1313{{{ 
    1414NAMESPACE $project:tdx - $system:lang    // however $project is implied and not really needed 
     
    2525      RETURN newNameSpace 
    2626    } 
     27 
     28    SYNTAX 
     29        namespaceClause := "NAMESPACE" newNameSpaceClause { "-" { existingNameClause }+ }; 
     30        newNameSpaceClause := { "$" ident { ":" ident }* | ident { ":" ident }+ }; 
     31        existingNameClause := { "$" ident { ":" ident }* | ident { ":" ident }+ }; 
    2732}}} 
    2833 
     34== DATA DEFINITION ( .vdx ) == 
     35=== INFORMATION MODEL === 
    2936[[Image(namespace.png,width=98%)]] 
    30  
    31  
    32 == SYNTAX DEFINITION == 
    33  
    34 {{{#!div style="background: #ffd; border: 3px ridge" 
    35 namespaceClause := "NAMESPACE" newNameSpaceClause  { "-" { existingNameSpaceClause }+ }; 
     37=== PROCEDURAL MODEL === 
    3638[[Image(namespaceClause.png,width=98%)]] 
    37  
    38 newNameSpaceClause := { "$" ident { ":" ident }* | ident { ":" ident }* }; 
    3939[[Image(newNamespaceClause.png,width=98%)]] 
    40  
    41 existingNameSpaceClause := { "$" ident { ":" ident }* | ident { ":" ident }* };[[BR]] 
    4240[[Image(existingNamespaceClause.png,width=98%)]] 
    43 }}}