Changes between Version 22 and Version 23 of IR


Ignore:
Timestamp:
11/22/15 12:08:24 (10 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR

    v22 v23  
    1515* an array is declared without any length expression.  When it is initialized it can specify length.
    1616
     17**Can we specify that elements must appear in the order above?**  Or would that create a problem in something like
     18{{{
     19{
     20  $integer x=3*y;
     21  $integer a[x+1];
     22}
     23}}}
     24
     25
    1726Example:
    1827
     
    4352}}}
    4453
    45 ==  Static Types ==
     54==  Types ==
     55
     56**Do you need dependent types?**  I.e., can parameters to some of the types be arbitrary expressions, or do they have to be constants?
     57
     58**Do you need typedefs?**
    4659
    4760* `$bool` : boolean type, values are `$true` and `$false`
     
    7285* `union(T1,...,Tn)` : similar to struct
    7386* `T[]` : array-of-T
     87* **do we need the complete array type `T[e]`, which is a dependent type?**
    7488* Function<S1,...,Sn;T>
    7589 * function consuming S1,...,Sn and returning T.  T can be void.  The actual notation is the horrible C notation.