python: add bindings for bdd_to_formula()

Follow-up to an email from Ayrat Khalimov.

* python/spot/impl.i: Include twa/formula2bdd.hh.
* python/spot/__init__.py: Make the dictionnary
optional.
* spot/twa/formula2bdd.cc: Throw an exception instead of asserting.
* tests/python/bdditer.py: New file.
* tests/Makefile.am: Add it.
* NEWS: Update.
This commit is contained in:
Alexandre Duret-Lutz 2017-03-08 15:18:49 +01:00
parent cd4c326f7b
commit d1d3ee38e6
6 changed files with 78 additions and 3 deletions

4
NEWS
View file

@ -8,6 +8,10 @@ New in spot 2.3.1.dev (not yet released)
atomic propositions instead of conting them. Tools that output
formulas also support --format=%x for this purpose.
Python:
- The bdd_to_formula() function can now be called in Python.
Documentation:
- https://spot.lrde.epita.fr/tut11.html is a new page describing