1. 28 Feb, 2017 1 commit
    • Clément Fumex's avatar
      Add the ability to · f0547868
      Clément Fumex authored
      * declare range types and float types,
      * use integer (resp. real) literals for those types through casting,
      * specify how to print them in drivers.
      
      Change in syntax
      * use
      
        type t = < range 1 2 >   (* integers from 1 to 2 *)
        type t' = < float 4 12 > (* float with 4 bits in exponent and 12 in mantissa *)
      
        the two projections :
        t'int
        t''real
      
        and the predicate :
        t''isFinite
      
      * Restrict the use of "'" in whyml:
        Users are not allowed to introduce names where a quote symbol
        is followed by a letter. Thus, the following identifiers are
        valid:
      
        t'
        toto'0''
        toto'_phi
      
        whereas toto'phi is not.
      
      Note: we do not yet support negative numbers in range declaration
      and casting of a literal.
      f0547868
  2. 22 Feb, 2017 2 commits
  3. 20 Feb, 2017 2 commits
  4. 02 Feb, 2017 1 commit
  5. 01 Feb, 2017 2 commits
  6. 31 Jan, 2017 16 commits
  7. 30 Jan, 2017 9 commits
  8. 29 Jan, 2017 3 commits
  9. 23 Jan, 2017 1 commit
  10. 20 Jan, 2017 1 commit
  11. 03 Jan, 2017 2 commits