Changes between Version 25 and Version 26 of ExpressionSyntax


Ignore:
Timestamp:
2017-09-14 11:23:18 (8 years ago)
Author:
archibald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExpressionSyntax

    v25 v26  
    3838OK, well if we sp;it the operators into monadic, diadic or both then hat '''might''' help things somewhat. 
    3939{{{ 
    40 infixMonadics := ( "-" | "!" ); 
     40infixMonadics := ( "-" | "!" | "++" | "--" ); 
    4141 
    4242infixDiadics := ( "+" | "-" | "*" | "/" | "%" | ":=" | "==" ); 
    4343 
    4444infixTriadic := "?"; 
     45 
     46postfixMonadics := ( "++" | "--" ); 
    4547 
    4648typename := lexicalIdent [nameSpaceEnvironmentTypeCheck(LEX)]; 
     
    5456  | ( infixMonadics expression 
    5557    | bracedMonadic "(" expression ")" 
    56     | expression  
     58    | expression 
    5759    ) 
     60    ( postfixMonadics ) 
    5861    ( ( inFixDiadics expression 
    5962      | infixTriadic expression ":" expression  
     
    7275}}} 
    7376 
     77This assumes that each data element ( variable/attribute ) has a number of descriptive values 
     78* identifier   // the name 
     79* type         // the type it represents 
     80* organisation // the overlying set organisation 
     81* mutability   // whether the value can be modified or not 
     82 
    7483== (7.1) [wiki:WhatAboutIdentifiers What about identifiers (Expression Syntax) ?] ==