Changes between Version 25 and Version 26 of ExpressionSyntax
- Timestamp:
- 2017-09-14 11:23:18 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ExpressionSyntax
v25 v26 38 38 OK, well if we sp;it the operators into monadic, diadic or both then hat '''might''' help things somewhat. 39 39 {{{ 40 infixMonadics := ( "-" | "!" );40 infixMonadics := ( "-" | "!" | "++" | "--" ); 41 41 42 42 infixDiadics := ( "+" | "-" | "*" | "/" | "%" | ":=" | "==" ); 43 43 44 44 infixTriadic := "?"; 45 46 postfixMonadics := ( "++" | "--" ); 45 47 46 48 typename := lexicalIdent [nameSpaceEnvironmentTypeCheck(LEX)]; … … 54 56 | ( infixMonadics expression 55 57 | bracedMonadic "(" expression ")" 56 | expression 58 | expression 57 59 ) 60 ( postfixMonadics ) 58 61 ( ( inFixDiadics expression 59 62 | infixTriadic expression ":" expression … … 72 75 }}} 73 76 77 This 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 74 83 == (7.1) [wiki:WhatAboutIdentifiers What about identifiers (Expression Syntax) ?] ==