Changes between Version 47 and Version 48 of IR


Ignore:
Timestamp:
11/24/15 17:06:23 (10 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR

    v47 v48  
    116116// type definitions
    117117Type S:=Tuple[Array[Integer]];
     118_dynamic_S: DType;
    118119
    119120// variable decls
     
    125126// statements (leaving out the chooses and whens for brevity)
    126127n:=10;
    127 _S_init:=\new(Tuple[Array[Integer, n]]);
    128 x1:=_S_init;
     128_dynamic_S:=\dtype(Tuple[Array[Integer, n]]);
     129x1:=\new(_dynamic_S);
    129130n:=20;
    130 x2:=_S_init;
     131x2:=\new(_dynamic_S);
    131132}}}
    132133
     
    235236Example of declaration of a function:
    236237{{{
    237 $integer f($real x, $bool y);
     238f($real x, $bool y):integer;
    238239}}}
    239240