spot/bin
Antoine Martin bdae5563c6 ltlfilt: add --sonf and --sonf-aps flags
* bin/ltlfilt.cc: Here.
* NEWS: Mention new ltlfilt flags.
* tests/Makefile.am, tests/core/sonf.test: Test these flags.
2022-03-03 12:42:26 +01:00
..
man improve documentation for -x sat-minimize 2021-05-12 10:26:54 +02:00
.gitignore add ltlsynt executable 2017-09-25 12:23:47 +02:00
autcross.cc autcross: typo in --help 2020-04-16 08:37:59 +02:00
autfilt.cc improve support for LTLf semantics 2022-02-07 16:41:59 +01:00
common_aoutput.cc dot: add an option to output id= attributes 2021-09-03 22:38:24 +02:00
common_aoutput.hh stats: speed up the computation of transitions 2020-05-18 20:49:47 +02:00
common_color.cc bin: handle any exception before returning from parse_opt() 2019-09-26 15:19:57 +02:00
common_color.hh ltlcross: extract the color handling code 2017-07-26 12:10:36 +02:00
common_conv.cc bin: teach conversion options to report about the options 2018-05-21 17:39:38 +02:00
common_conv.hh bin: teach conversion options to report about the options 2018-05-21 17:39:38 +02:00
common_cout.cc bin: workaround flushing issues 2016-10-03 15:27:06 +02:00
common_cout.hh move spot/bin/ and spot/tests/ up by one level 2015-12-27 20:10:59 +01:00
common_file.cc bin: diagnose more write errors 2016-08-14 18:18:20 +02:00
common_file.hh bin: diagnose more write errors 2016-08-14 18:18:20 +02:00
common_finput.cc ltlsynt: fix --help output for common Input options 2021-10-11 13:39:52 +02:00
common_finput.hh noexcept: please gcc snapshot 2018-11-29 10:16:01 +00:00
common_hoaread.cc bin: fix documentation of --trust-hoa 2019-12-06 12:48:30 +01:00
common_hoaread.hh bin: abort autcross on input parse error 2018-05-21 17:39:38 +02:00
common_output.cc bin: handle any exception before returning from parse_opt() 2019-09-26 15:19:57 +02:00
common_output.hh genltl: add support for --sejk-f=n,m 2018-06-05 08:48:40 +02:00
common_post.cc bin: add support for -b/--buchi 2020-12-18 12:24:08 +01:00
common_post.hh postproc: add support for colored-parity 2018-01-08 11:35:49 +01:00
common_r.cc move spot/bin/ and spot/tests/ up by one level 2015-12-27 20:10:59 +01:00
common_r.hh sanity: Replace tabulars by spaces in *.cc *.hh *.hxx 2016-03-10 17:40:46 +01:00
common_range.cc bin: improve range diagnostic 2016-06-21 18:15:08 +02:00
common_range.hh ltlfilt: implement --reject-word and --accept-word 2016-04-09 10:10:41 +02:00
common_setup.cc bump copyright year 2022-01-10 14:51:34 +01:00
common_setup.hh bin: handle any exception before returning from parse_opt() 2019-09-26 15:19:57 +02:00
common_sys.hh move spot/bin/ and spot/tests/ up by one level 2015-12-27 20:10:59 +01:00
common_trans.cc configure: remove some header checks 2022-03-02 17:37:25 +01:00
common_trans.hh C++20: fix warnings reported by g++ 10.1 2020-07-20 15:47:39 +02:00
dstar2tgba.cc bin: handle any exception before returning from parse_opt() 2019-09-26 15:19:57 +02:00
genaut.cc bin: handle any exception before returning from parse_opt() 2019-09-26 15:19:57 +02:00
genltl.cc bin: handle any exception before returning from parse_opt() 2019-09-26 15:19:57 +02:00
ltl2tgba.cc ltl2tgba, ltldo: fix location of --negate in --help output 2019-12-28 22:10:33 +01:00
ltl2tgta.cc postprocess, translate: add support for Büchi (not state-based) 2020-10-06 17:46:34 +02:00
ltlcross.cc ltlcross: completely fix #420 2020-07-21 22:20:04 +02:00
ltldo.cc ltldo: improve error messages 2020-07-13 16:30:29 +02:00
ltlfilt.cc ltlfilt: add --sonf and --sonf-aps flags 2022-03-03 12:42:26 +01:00
ltlgrind.cc bin: handle any exception before returning from parse_opt() 2019-09-26 15:19:57 +02:00
ltlsynt.cc Adapt ltlsynt 2021-12-10 12:44:36 +01:00
Makefile.am add ltlsynt executable 2017-09-25 12:23:47 +02:00
options.py move spot/bin/ and spot/tests/ up by one level 2015-12-27 20:10:59 +01:00
randaut.cc bin: add support for -b/--buchi 2020-12-18 12:24:08 +01:00
randltl.cc bin: handle any exception before returning from parse_opt() 2019-09-26 15:19:57 +02:00
README bin: make sure that all options are in a named section 2017-09-26 21:28:16 +02:00
spot-x.cc ltlsynt: replace -x minimization-lvl=N by --simplify 2021-10-06 18:00:24 +02:00
spot.cc org: clarify that ltl2tgba does not only output TGBA 2018-06-27 16:52:45 +02:00

This directory contains the source of some command-line tools that
expose some of Spot's algorithms to Unix users.

Man pages are generated from the --help output of each tool,
supplemented by any text in the man/*.x files.  Usually the extra text
contains either some bibliographical references, some formal
definitions or some examples that are too long for --help.  Having a
few short examples at the end of --help is good.

This directory also builds some non-installed binaries, like spot-x,
whose purpose is just to generate a man-page with the same format as
the other man pages (this includes keeping the version number
up-to-date).

There is also a script called 'options.py' that summerizes how the
different short options are used among the tools.

Routines that are shared by multiple command-line tools are stored in
files called common_*.{cc,hh}.


Recommendations when adding new tools or features:
--------------------------------------------------

 - Tools should be designed to work on multiple inputs (e.g., read
   different outputs from multiple files, and accept many inputs from
   the same file, including stdin).  They should also all be designed
   to produce several outputs, usually one per input.  This way they
   can be piped one onto the other easily.

 - When naming an option, seek inspiration from the POSIX standard, or
   from GNU extensions.  For instance ltlfilt and autfilt both have a
   -v option to invert the filter; this is inspired from grep's -v
   option.  The long version of this option (--invert-match) is also
   the same as in grep.

 - When adding a new option, implement only the --long-option by
   default.  Do not add a short version unless
     (1) you are sure it will be frequently used interactively
         (if it is only used in scripts, then a long option is enough)
     (2) this option can be shared by multiple tools.

 - As much as possible, use the same option names across tools.  Use
   the script options.py in this directory to check what short options
   are used.  It's OK if the same short option correspond to different
   long names in the various tools, as long as the intent is similar.
   For instance -n has different long options depending on the tool:
     autfilt -n N     means   --max-count=N
     randltl -n N     means   --formulas=N
     randaut -n N     means   --automata=N
  but in all cases, the intent is to specify the number of items
  to output.

 - In the --help output, all options should appear in a named
   section (like "Input options:", "Output options:"), and those
   sections are best ordered according to one's mental view
   of how the tool works: first, it reads the input, then
   it processes it, then it outputs the result.  Keep --help
   and --version at the very bottom.