1. 26 Oct, 2018 1 commit
  2. 16 Oct, 2018 1 commit
  3. 14 Oct, 2018 1 commit
  4. 28 Sep, 2018 1 commit
    • Raphael Rieu-Helft's avatar
      Add support for partial functions · 17ed1270
      Raphael Rieu-Helft authored
      Program functions can be declared as partial with "let/val partial".
      Similarly to "diverges", partial code cannot be ghost, however it does not need to be
      explicitly specified as partial.
      
      Fixes #184.
      17ed1270
  5. 10 Sep, 2018 2 commits
  6. 06 Mar, 2018 1 commit
  7. 15 Dec, 2017 1 commit
  8. 13 Dec, 2017 1 commit
  9. 16 Jun, 2017 1 commit
    • Andrei Paskevich's avatar
      WhymL: break and continue · df239061
      Andrei Paskevich authored
      Without an argument, break and continue refer to the innermost loop.
      A label put over an expression sequence starting with a loop, can be
      used as an optional argument for break and continue:
      
        label L in
        [ghost] ["tag"] [M.begin]
          while true do
            ...
            break L
            ...
          done;
          [...]
        [end] [: unit]
      
      In the square brackets are listed the constructions allowed between
      the label declaration and the loop expression.
      df239061
  10. 06 Jun, 2017 1 commit
  11. 04 Jun, 2017 1 commit
  12. 29 Mar, 2017 1 commit
  13. 10 Jun, 2016 1 commit
  14. 13 May, 2016 2 commits
  15. 18 Mar, 2016 1 commit
  16. 17 Mar, 2016 1 commit
  17. 22 Feb, 2016 1 commit
  18. 21 Jan, 2016 1 commit
  19. 10 Dec, 2015 1 commit
  20. 02 Jul, 2015 1 commit
  21. 07 Sep, 2014 1 commit
  22. 29 Aug, 2014 1 commit
  23. 08 Jun, 2014 1 commit
  24. 13 May, 2014 1 commit
  25. 27 Feb, 2014 1 commit
  26. 20 Jan, 2014 1 commit
    • Andrei Paskevich's avatar
      WhyML: add "diverges", "reads {}", and "writes {}" effect clauses · 83858597
      Andrei Paskevich authored
      - "diverges" states that the computation may not terminate (which
        does not mean that is always diverges: just as any other effect
        annotation, this clause states a possibility of a side effect).
      
      - "reads {}" states that the computation does not access any variable
        except those that are listed elsewhere in the specification (or the
        proper function arguments, if "reads" is in a function spec).
      
      - "writes {}" states that the computation does not modify any mutable
        value.
      
      - If a function definition or an abstract computation may diverge,
        but there is no "diverges" clause in the specification, a warning
        is produced. If a function definition or an abstract computation
        always terminates, but there is a "diverges" clause in the spec,
        an error is produced.
      
      - If there is a "reads" or a "writes" clause in a function definition
        or an abstract computation, then every modified value must be listed
        in "writes" and every accessed external variable not mentioned in
        the spec must be listed in "reads". (Notice that this is a stricter
        requirement than before, when the presence of a "writes" clause
        did not require to specify "reads".) However, one does not have to
        write "reads {}" or "writes {}" if the corresponding lists are empty.
      83858597
  27. 25 Nov, 2013 1 commit
  28. 03 Apr, 2013 1 commit
  29. 12 Oct, 2012 1 commit
  30. 01 Oct, 2012 1 commit
  31. 22 May, 2012 1 commit
  32. 13 Apr, 2012 1 commit
  33. 24 Feb, 2012 1 commit
  34. 06 Feb, 2012 1 commit
  35. 03 Aug, 2011 1 commit
  36. 01 Jul, 2011 1 commit
  37. 30 Jun, 2011 2 commits