1. 11 Jun, 2017 1 commit
  2. 09 Jun, 2017 1 commit
  3. 24 May, 2017 1 commit
  4. 12 Apr, 2017 1 commit
  5. 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
  6. 15 Mar, 2016 3 commits
  7. 09 Sep, 2015 1 commit
  8. 18 Aug, 2015 1 commit
  9. 16 Aug, 2015 1 commit
    • Andrei Paskevich's avatar
      Task: use "Use" to represent theory use · d993dad4
      Andrei Paskevich authored
      up to this point, we used Clone declarations with an empty substitution
      to represent use of theories in tasks. The intention was to stress the
      fact that the imported declarations are physically present in the task
      and thus are followed by a "witness" Clone declaration (whereas a Use
      inside a theory acts rather as a pointer to follow).
      
      However, this encoding requires the clone substitution to cover every
      locally defined symbol: otherwise we might not be able to distinguish
      a use from a clone. Therefore, we had to clone even Pgoal propositions
      as Pskip, in order to keep the substitutions complete.
      
      This commit restricts the Clone declarations in tasks to actual
      theory cloning, and represents theory use with Use declarations.
      This hopefully makes the API more clear, and will allow us to
      abolish Pskip.
      d993dad4
  10. 06 Jul, 2015 1 commit
  11. 24 Jun, 2015 1 commit
  12. 12 Jun, 2015 1 commit
  13. 28 Mar, 2015 1 commit
  14. 20 Mar, 2015 1 commit
  15. 19 Mar, 2015 1 commit
  16. 05 Jan, 2015 1 commit
  17. 22 Oct, 2014 1 commit
  18. 02 Sep, 2014 1 commit
  19. 21 Aug, 2014 1 commit
  20. 12 May, 2014 1 commit
  21. 19 Mar, 2014 1 commit
  22. 18 Mar, 2014 1 commit
  23. 14 Mar, 2014 1 commit
  24. 17 Feb, 2014 2 commits
  25. 10 Dec, 2013 2 commits
  26. 22 Nov, 2013 1 commit
  27. 08 Nov, 2013 1 commit
  28. 10 Oct, 2013 1 commit
  29. 23 May, 2013 1 commit
  30. 28 Apr, 2013 1 commit
  31. 17 Apr, 2013 1 commit
  32. 15 Apr, 2013 1 commit
  33. 13 Apr, 2013 1 commit
  34. 15 Mar, 2013 1 commit
  35. 06 Mar, 2013 1 commit
  36. 31 Jan, 2013 1 commit