Add an LTL printer in LBT's syntax.
* src/ltlvisit/lbt.cc, src/ltlvisit/lbt.hh: New files. * src/ltlvisit/Makefile.am: Add them. * src/bin/common_output.cc, src/bin/common_output.hh: Add support for LBT output, and reporting formulae that cannot be output in this syntax. * src/bin/ltlfilt.cc: Pass filename and linenum to output_formula() for better error reporting.
This commit is contained in:
parent
106a14f8db
commit
1a84c17ece
6 changed files with 300 additions and 5 deletions
|
|
@ -27,13 +27,15 @@
|
|||
#include <argp.h>
|
||||
#include "ltlast/formula.hh"
|
||||
|
||||
enum output_format_t { spot_output, spin_output, utf8_output };
|
||||
enum output_format_t { spot_output, spin_output, utf8_output, lbt_output };
|
||||
extern output_format_t output_format;
|
||||
extern bool full_parenth;
|
||||
|
||||
extern const struct argp output_argp;
|
||||
|
||||
int parse_opt_output(int key, char* arg, struct argp_state* state);
|
||||
void output_formula(const spot::ltl::formula* f);
|
||||
|
||||
void output_formula(const spot::ltl::formula* f,
|
||||
const char* filename = 0, int linenum = 0);
|
||||
|
||||
#endif // SPOT_BIN_COMMON_OUTPUT_HH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue