autfilt: add a --reject-word option

* bin/autfilt.cc: Implement --reject-word.
* NEWS, doc/org/autfilt.org: More doc.
* tests/core/acc_word.test: More tests.
This commit is contained in:
Alexandre Duret-Lutz 2016-03-08 11:10:59 +01:00
parent 774895418a
commit 7e2e4df1bb
4 changed files with 103 additions and 8 deletions

9
NEWS
View file

@ -2,12 +2,15 @@ New in spot 1.99.8a (not yet released)
Command-line tools:
* autfilt has a new option: --accept-word=WORD, that filters automata
that accept WORD. This option can be used several times, and will
filter automata that accept all words.
* autfilt has two new options: --accept-word=WORD and
--reject-word=WORD for filtering automata that accept or reject
some word. The option may be used multiple times.
Library:
* The parse_word() function can be used to parse a lasso-shaped
word and build a twa_word. The twa_word::as_automaton()
method can be used to create an automaton out of that.
* twa::ap_var() renamed to twa::ap_vars().
* emptiness_check_instantiator::min_acceptance_conditions() and
emptiness_check_instantiator::max_acceptance_conditions() renamed