ltl2tgba.html: Display properties of formulas.

* src/ltlast/formula.hh, src/ltlast/formula.cc (list_formula_props):
New function.
* wrap/python/spot.i: Adjust to wrap list_formula_props.
* wrap/python/ajax/ltl2tgba.html: Add option to display properties.
* wrap/python/ajax/spot.in: Handle ff=p and display properties.
* wrap/python/ajax/protocol.txt: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2012-03-19 19:03:43 +01:00
parent 62bf41cdb4
commit 3d41bf9ff1
6 changed files with 84 additions and 26 deletions

View file

@ -33,6 +33,10 @@
%include "std_string.i"
%include "std_list.i"
namespace std {
%template(liststr) list<string>;
};
%import "buddy.i"
%{
@ -98,6 +102,7 @@
#include "tgbaalgos/neverclaim.hh"
#include "tgbaalgos/rundotdec.hh"
#include "tgbaalgos/save.hh"
#include "tgbaalgos/safety.hh"
#include "tgbaalgos/sccfilter.hh"
#include "tgbaalgos/stats.hh"
#include "tgbaalgos/simulation.hh"
@ -226,6 +231,7 @@ using namespace spot;
%include "tgbaalgos/neverclaim.hh"
%include "tgbaalgos/rundotdec.hh"
%include "tgbaalgos/save.hh"
%include "tgbaalgos/safety.hh"
%include "tgbaalgos/sccfilter.hh"
%include "tgbaalgos/stats.hh"
%include "tgbaalgos/simulation.hh"