Alexandre Duret-Lutz
cd661801df
word: throw an exception when printing an empty word
...
Fixes #146 .
* spot/twaalgos/word.cc: Here.
* tests/python/word.ipynb: Add a test case.
2016-03-08 14:22:58 +01:00
Alexandre Duret-Lutz
774895418a
* tests/python/word.ipynb: Add a new test and some comments.
2016-03-08 12:14:14 +01:00
Alexandre Duret-Lutz
6bfde8e454
eval: Fix typography in error messages
...
* spot/twaalgos/word.cc: Here.
* tests/python/word.ipynb: Adjust.
2016-03-08 12:14:14 +01:00
Amaury Fauchille
1fd76ee918
word: implement twa word parsing
...
* spot/twaalgos/word.hh: add parse_word method and a new constructor
* spot/twaalgos/word.cc: implement word parsing
* python/spot/__init__.py: add parse_word method binding
* tests/python/word.ipynb: add word parsing tests
2016-03-07 20:17:00 +01:00
Alexandre Duret-Lutz
5a5f83f468
python: add missing bindings for twa_word and twa_run
...
Fixes #133 .
* python/spot/impl.i: Add bindings for twa_word. Add a __repr__
for twa_run, and instantiate templates for twa_run's members.
* tests/python/word.ipynb: New file with examples.
* tests/Makefile.am, doc/org/tut.org: Add it.
2016-01-31 21:05:44 +01:00