python: allow iterating over the successors of a state
Fixes #118. * spot/twa/twagraph.hh: Avoid using graph_t::state to help Swig. * wrap/python/spot_impl.i: Add a __str__ function for acc_cond::mark_t. * doc/org/tut21.org: Add the Python version. * doc/org/tut.org: Move tut21.org to the Python/C++ section. * NEWS: Update.
This commit is contained in:
parent
4b853865b9
commit
9313222e95
5 changed files with 151 additions and 13 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
This section contains code examples for using Spot. This is a work in
|
||||
progress. Feel free to [[mailto:spot@lrde.epita.fr][send]] suggestion of small tasks you would like
|
||||
progress. Feel free to [[mailto:spot@lrde.epita.fr][send]] suggestions of small tasks you would like
|
||||
to see illustrated here.
|
||||
|
||||
If you have difficulties compiling the C++ examples, check out [[file:compile.org][these
|
||||
|
|
@ -25,14 +25,13 @@ three interfaces supported by Spot: shell commands, Python, or C++.
|
|||
* Examples in Python and C++
|
||||
|
||||
- [[file:tut03.org][Constructing and transforming formulas]]
|
||||
- [[file:tut21.org][Custom print of an automaton]]
|
||||
|
||||
* Examples in
|
||||
C++ only
|
||||
* Examples in C++ only
|
||||
|
||||
The following examples are too low-level to be implemented in shell or
|
||||
Python (at least at the moment), so they are purely C++ so far.
|
||||
|
||||
- [[file:tut21.org][Custom print of an automaton]]
|
||||
- [[file:tut22.org][Creating an automaton in C++]]
|
||||
|
||||
* Examples in Python only
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue