15 Commits

Author SHA1 Message Date
Andrei Paskevich
3296edbb23 Dexpr: emit a warning for spurious olds in val contracts 2021-03-12 20:56:41 +01:00
Jean-Christophe Filliatre
5f9ea672ec stdlib: added mach.ArrayInt63.set 2020-07-02 15:46:48 +02:00
Jean-Christophe Filliatre
afa781ff12 mach.array.ArrayInt63: added init and sub 2020-06-30 18:31:13 +02:00
Raphael Rieu-Helft
638fbc83a4 Use long names for extraction-related labels 2019-05-14 15:00:35 +02:00
Raphael Rieu-Helft
558f096222 Add support for C extraction of arrays 2019-02-08 10:27:38 +01:00
Mário Pereira
53e3ceddad Array63: removed two unnecessary uses of [of_int] function 2018-11-09 15:37:52 +01:00
Andrei Paskevich
eae547d95f stdlib, examples: remove redundant "import" 2018-06-15 16:45:58 +02:00
Guillaume Melquiond
1972035962 Convert the standard library. 2018-06-14 08:10:07 +02:00
Jean-Christophe Filliatre
e0cd115630 Array63: added swap and init 2018-05-31 14:10:54 +02:00
Jean-Christophe Filliatre
bdf87ccee2 new module mach.array.ArrayInt63 for arrays of 63-bit integers
the model is a sequence of integers, of type 'seq int'
the idea is to lower the pollution of VCs with values of int63 (and
subsequent to_int operations)

drawbacks:
- this new type of arrays is not compatible with the one
  from mach.array.Array63
- when using both, we cannot use syntax [] and []<- for both types
  in programs (no overloading in programs) and thus we have to use
  A.([]) and A.([]<-) for one of them
2018-05-17 21:41:41 +02:00
Jean-Christophe Filliatre
4898a45de1 mach.array.Array63 now uses a sequence as a model
instead of a function of type int->'a
a coercion is declared from arrays to sequences, so that notation a[i]
in the logic now refers to the sequence operation
small caveat: you have to open module seq.Seq to be able to use this
notation
2018-05-14 15:59:35 +02:00
Guillaume Melquiond
fc1b4fe530 Merge branch 'new_ide'
# Conflicts:
#	bench/ce/
2018-02-17 10:46:39 +01:00
Guillaume Melquiond
9e92f8203f Change label syntax from "foo" to [@foo].
The feature is not yet fully implemented (e.g. escape characters).
2018-01-12 18:05:43 +01:00
Guillaume Melquiond
fb032dd10a Clean documentation of standard library. 2017-12-15 18:10:56 +01:00
Guillaume Melquiond
efb51e7d43 Merge theories and modules into stdlib (fix issue #62). 2017-12-15 15:34:35 +01:00