Changes between Version 93 and Version 94 of IR2


Ignore:
Timestamp:
05/12/21 21:01:40 (5 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR2

    v93 v94  
    226226  | '&' lvalue  /* address-of */
    227227  | expr type-args? '(' expression-list? ')'  /* application of abstract function (and perhaps other functions?) */
    228   | $new(type-name)  /* returns a new arbitrary value of the given type */
     228  | '$new' '(' type-name ')'  /* returns a new arbitrary value of the given type */
    229229  | '$forall' '(' decl expr? ')' expr  /* universal quantification */
    230230  | '$exists' '(' decl expr? ')' expr  /* existential quantification */
     
    235235  | '$castable' '(' expr ',' type-name ')'  /* can expr be cast to type T? */
    236236  | '$defined' '(' lvalue ')'  /* has the specified memory location been assigned? */
    237   | '$valid '(' expr ')'  /* does a pointer point to a memory location capable of holding a value of its base type? */
     237  | '$valid '(' expr ')'  /* does a pointer point to an object of its base type? */
    238238  ;
    239239expr-pair-list: expr-pair (',' expr-pair)* ;