Changes between Version 14 and Version 15 of ExpressionSyntax


Ignore:
Timestamp:
2017-09-14 10:27:34 (8 years ago)
Author:
archibald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExpressionSyntax

    v14 v15  
    3838OK, well if we sp;it the operators into monadic, diadic or both then hat ''might'' help things somewhat. 
    3939{{{ 
    40 monadics := ( "-" | "!" ); 
     40infixMonadics := ( "-" | "!" ); 
    4141 
    42 diadics := ( "+" | "-" | "*" | "/" | "%" | ":=" ); 
     42infixDiadics := ( "+" | "-" | "*" | "/" | "%" | ":=" ); 
    4343 
    4444bracedMonadic := 
    45   ( "sizeof" 
    46   | "typeof"  
    47   | L-guillemet typename R-guillemet // CASTING  
    48   ); 
     45  L-guillemet typename R-guillemet; // CASTING 
    4946 
    5047expression :=  
    5148  ( identifier 
    5249  | constant 
    53   | ( monadics expression 
     50  | ( infixMonadics expression 
    5451    | bracedMonadic "(" expression ")" 
    5552    | expression  
    5653    ) 
    57     ( ( diadics expression  
     54    ( ( inFixDiadics expression  
    5855      | expression  
    5956      ) )