Changes between Version 1 and Version 2 of IR


Ignore:
Timestamp:
11/21/15 19:34:11 (10 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR

    v1 v2  
    99 * `Int<Integer lo, Integer hi, Boolean wrap>`
    1010  * finite interval of integers [lo,hi].  If `wrap` is true then all operations "wrap", otherwise, any operation resulting in a value outside of the interval results in an exception being thrown.
    11 * Real
     11* Real types
    1212 * `Real` : the mathematical real numbers
    1313 * `Float<Integer e, Integer f>` : IEEE754 floating point numbers
    14 * Struct
    15 * Array
    16 * Function
     14* `Struct`
     15 * list of name-type pairs
     16 * bit-widths?
     17* `Array<T>`
     18 * `Array<Integer n,T>`
     19* `Function<S1,...,Sn;T>`
     20* `Pointer<T>`
     21
     22When are two types equal?
     23
     24What are two types compatible?
    1725
    1826== Values ==
     
    2331
    2432
     33== Statements ==
     34
     35* Assign
     36* Call
     37* Spawn
     38* Wait
     39
     40
    2541
    2642== Program Graph ==
     
    2945
    3046
     47== Libraries ==
     48
     49
     50