1. 18 Feb, 2019 1 commit
    • Guillaume Melquiond's avatar
      Rework numerical constants. · d3d7c7ac
      Guillaume Melquiond authored
      Main changes are:
      - Real constants now offer a normalized representation usable for internal
        computations.
      - Constants are no longer stored in textual form.
      d3d7c7ac
  2. 11 Feb, 2019 1 commit
  3. 11 Jan, 2018 1 commit
  4. 22 Nov, 2017 1 commit
  5. 09 Jun, 2017 1 commit
  6. 12 Apr, 2017 1 commit
  7. 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
  8. 10 Jun, 2016 1 commit
  9. 15 Mar, 2016 3 commits
  10. 08 Mar, 2016 1 commit
  11. 18 Aug, 2015 1 commit
  12. 20 Mar, 2015 1 commit
  13. 19 Mar, 2015 1 commit
  14. 14 Mar, 2014 1 commit
  15. 03 Dec, 2013 1 commit
  16. 08 Nov, 2013 1 commit
  17. 04 Nov, 2013 1 commit
  18. 03 Nov, 2013 1 commit
    • Andrei Paskevich's avatar
      allow printers to produce "urgent output" · c0e146fa
      Andrei Paskevich authored
      this is useful to declare on-the-fly a new sort which replaces
      a complex type. Otherwise, the printer has to traverse any term
      twice: first, to detect complex types, second, to print the term.
      c0e146fa
  19. 02 Nov, 2013 1 commit
    • Andrei Paskevich's avatar
      implement printers as memoizing transformations · 9640fb2b
      Andrei Paskevich authored
      also, avoid the "encoding_sort" transformation, if it can be done
      directly in the printer.
      
      On the same example as in the previous commits, this gives 5x
      acceleration together with some memory usage reduction.
      9640fb2b
  20. 10 Oct, 2013 1 commit
  21. 06 Mar, 2013 1 commit
  22. 06 Nov, 2012 1 commit
  23. 29 Oct, 2012 1 commit
  24. 27 Oct, 2012 1 commit
  25. 20 Oct, 2012 1 commit
    • Andrei Paskevich's avatar
      simplify copyright headers · 11598d2b
      Andrei Paskevich authored
      + create AUTHORS file
      + fix the linking exception in LICENSE
      + update the "About" in IDE
      + remove the trailing whitespace
      + inflate my scores at Ohloh
      11598d2b
  26. 10 Oct, 2012 1 commit
  27. 18 Sep, 2012 1 commit
  28. 27 Aug, 2012 1 commit
  29. 03 Aug, 2012 1 commit
    • François Bobot's avatar
      Documentation: add description to all the registration functions · 29201f7c
      François Bobot authored
       (metas, debug flags, transformations, formats) except for label.
      
      This description is used in --list-*. The description can use any of
      the formatting markup of Format "@ " "@[",...
      
      Transformations can also specify from which metas and labels they
      depend, and add informations about how they are interpreted.
      
      TODO:
        - complete and correct the documentation
        - when a transformation use Trans.on_meta, it should be possible to
          add an interpretation of the metas in the documentation.
        - recover a summary version of --list-* ?
        - be able to export in latex?
      29201f7c
  30. 09 Apr, 2012 1 commit
  31. 18 Mar, 2012 1 commit
    • Andrei Paskevich's avatar
      separate abstract types and logic symbols · 1b769a78
      Andrei Paskevich authored
      - put abstract types and aliases in Dtype of tysymbol
      - put (recursive) algebraic types in Ddata of (ts,constr list) list
      - put abstract function/predicate symbols in Dparam of lsymbol
      - put defined logic symbols in Dlogic of (ls,ls_definition) list
      1b769a78
  32. 11 Mar, 2012 1 commit
  33. 29 Sep, 2011 2 commits
  34. 18 Sep, 2011 1 commit
  35. 13 Jul, 2011 1 commit
    • Guillaume Melquiond's avatar
      Add support for generic printing of integers and reals. · 1ba8f1a6
      Guillaume Melquiond authored
      Prover capabilities are now represented by a record enumerating each case and which syntax to use then.
      This fixes output of nondecimal integers to provers (bug #12981).
      
      TODO: check whether some provers support more than just decimal representations.
      1ba8f1a6
  36. 02 Jul, 2011 1 commit
  37. 01 Jul, 2011 1 commit