Files
why3/plugins/python
Jean-Christophe Filliatre 572064dfb8 Python plugin: minor change
2019-10-04 15:51:18 +02:00
..
2019-02-11 15:35:11 +01:00
2019-10-04 15:51:18 +02:00
2019-09-25 17:48:44 +02:00

A plugin to verify programs written in a (microscopic) fragment of Python.
Designed for teaching purposes.

See tests/python/*.py for examples.

Limitations wrt Python:
- types are limited to integers and lists of integers
- a list is not resizable (i.e. it is a mere array)
- a function must return an integer or nothing

Todo:
- function/predicate with a definition (currently not supported);
  note: we would need to provide the type (int/array) of the arguments