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
Claude Marche
929db309dc
Remove a few compilation warnings
2017-04-05 14:22:24 +02:00
Jean-Christophe Filliatre
272e253a0f
python: functions and predicates
2017-03-17 17:04:29 +01:00
Jean-Christophe Filliatre
fec2cd7b3a
python plugin: parse function in Py_lexer
2017-03-09 11:11:54 +01:00
Andrei Paskevich
194dfa81de
reinitialise indentation stack
2017-03-07 16:45:19 +01:00
Andrei Paskevich
817c5367d5
python: fix an off-by-one in "for ... in range()"
2017-03-07 15:54:23 +01:00
Andrei Paskevich
d1784bcc91
fix py_parser.mly for older menhir
2017-02-22 01:08:11 +01:00
Jean-Christophe Filliatre
257e127406
python examples moved to tests/
2017-02-20 15:51:09 +01:00
Jean-Christophe Filliatre
1bf178c8eb
python: support for 'for x in range(i,j)'
2017-02-02 21:52:15 +01:00
Andrei Paskevich
3c54dbd330
python: make all locations mandatory and set a starting location
2017-02-01 13:48:49 +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
820c7bbd1e
python: fixed for loop
2017-01-31 22:56:00 +01:00
Jean-Christophe Filliatre
d1798364b6
python: a slight change in sort
2017-01-31 22:35:25 +01:00
Jean-Christophe Filliatre
645747d4cb
cleaning up
2017-01-31 22:29:40 +01:00
Jean-Christophe Filliatre
bd52075c22
ascii art
2017-01-31 22:25:59 +01:00
Jean-Christophe Filliatre
de593c3543
python: new example sort
2017-01-31 22:23:15 +01:00
Jean-Christophe Filliatre
a73d9d9a4a
python: better annotations for dicho.py
2017-01-31 22:08:15 +01:00
Jean-Christophe Filliatre
0471539784
python: support for return statement
2017-01-31 20:52:16 +01:00
Jean-Christophe Filliatre
e9883d12f7
python: support for procedures (i.e. functions with no return)
2017-01-31 20:19:55 +01:00
Jean-Christophe Filliatre
78ed1df4d9
python: improved example
2017-01-31 18:57:40 +01:00
Jean-Christophe Filliatre
637695e64a
python: print is now variadic
2017-01-31 18:53:35 +01:00
Jean-Christophe Filliatre
8032bb8463
python: Python 3 requires int() around input()
2017-01-31 18:47:28 +01:00
Jean-Christophe Filliatre
8322d982f9
python: example dicho improved
2017-01-31 17:00:25 +01:00
Jean-Christophe Filliatre
c5d557018e
python: support for break in while loops
2017-01-31 16:02:44 +01:00