Changes between Version 78 and Version 79 of IR2


Ignore:
Timestamp:
05/06/21 11:04:10 (5 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR2

    v78 v79  
    242242* Comparisons likes `==` and `<` return a `$bool` (not an int, like C)
    243243
     244=== Allowed Casts ===
     245
     246* `$int` -> `$real`
     247* `$float32` -> `$real`
     248* `$float64` -> `$real`
     249* `T1*` -> `T2*`.   How to check a cast is valid?  What happens if it is not?  If there are no exceptions, something must be returned.  Perhaps undefined value.
     250  * this is OK if one is a pointer to element 0 of an array, and the other is a pointer to the array
     251  * if one is a pointer to the first member of a struct or union, and the other is a pointer to the struct or union
     252  * these rules can be applied recursively.  This needs to be fleshed out.
     253* others?
     254
    244255
    245256== Standard CIVL Library ==
    246257
    247258=== `civlc.cvh` ===
     259
     260Work in progress.   Refer to existing library.
    248261
    249262{{{