Guillaume Melquiond
3aae32e7bc
Backport support for negative literals.
2017-11-22 17:57:32 +01:00
Claude Marche
216f2ecd71
update header for year 2017
2017-04-12 14:17:56 +02:00
Jean-Christophe Filliatre
272e253a0f
python: functions and predicates
2017-03-17 17:04:29 +01:00
Andrei Paskevich
d1784bcc91
fix py_parser.mly for older menhir
2017-02-22 01:08:11 +01:00
Andrei Paskevich
50513e7094
python: add the element preservation property for insertion sort
...
In a different file, so that we can show the simpler ordering property
first.
Also, I cheat, and add an appropriate lemma to modules/python.mlw.
Maybe this is a good lemma to have in map.Occ, too.
2017-02-01 00:06:12 +01:00
Jean-Christophe Filliatre
de593c3543
python: new example sort
2017-01-31 22:23:15 +01:00
Jean-Christophe Filliatre
637695e64a
python: print is now variadic
2017-01-31 18:53:35 +01:00
Jean-Christophe Filliatre
c5d557018e
python: support for break in while loops
2017-01-31 16:02:44 +01:00
Jean-Christophe Filliatre
20cdd1882e
python: support for elif
2017-01-31 14:35:51 +01:00
Jean-Christophe Filliatre
e01493e5fc
python: support for randint
2017-01-30 22:58:38 +01:00
Jean-Christophe Filliatre
b65d100c56
python: building lists
2017-01-30 22:53:30 +01:00
Jean-Christophe Filliatre
dadb290880
python: division and modulus, fixed for loop
2017-01-30 21:27:16 +01:00
Jean-Christophe Filliatre
cf8b8e3d57
python: more annotations
2017-01-30 13:50:18 +01:00
Jean-Christophe Filliatre
041f9bafd4
python: lists
2017-01-30 09:52:35 +01:00
Jean-Christophe Filliatre
013e16e103
python: better syntax trees (flattened)
2017-01-30 09:08:52 +01:00
Jean-Christophe Filliatre
c51e9e1135
python: more term syntax
2017-01-30 07:57:19 +01:00
Jean-Christophe Filliatre
70a1f7dfd8
python: logical annotations
2017-01-29 16:57:49 +01:00
Jean-Christophe Filliatre
85fa13a141
python: translation to Why3 abstract syntax
2017-01-29 15:52:12 +01:00
Jean-Christophe Filliatre
aa52f5a827
A new plugin to read Python programs
...
for teaching purposes only
limited to a microscopic fragment of Python for the moment
2017-01-29 13:02:04 +01:00