Files
why3/plugins/python/README
Jean-Christophe Filliatre 42c2e450b9 Python/micro-C: at/old/labels now supported
makes use of auto-dereference
2019-07-06 14:54:56 +02:00

16 lines
468 B
Plaintext

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