spot/bin
Jonah Romero ad22eb3e65 add enviroment variables for FORQ algorithm
* AUTHORS: added Jonah Romero
* bin/man/spot-x.x: Added the enviroment variables,
                    SPOT_EXCLUSIVE_WORD and SPOT_CONTAINMENT_CHECK
* doc/spot.bib: Added paper citation for FORQ inclusion algorithm
* spot/twa/twa.cc: Modified exclusive_word to also use FORQ
* spot/twaalgos/contains.cc: Modified contains to also use FORQ
2023-09-13 15:48:17 +02:00
..
man add enviroment variables for FORQ algorithm 2023-09-13 15:48:17 +02:00
.gitignore add ltlsynt executable 2017-09-25 12:23:47 +02:00
autcross.cc fix some code smells reported by sonarcloud 2023-01-06 10:12:50 +01:00
autfilt.cc bin: allow %l to be used to print serial numbers 2023-07-21 17:16:19 +02:00
common_aoutput.cc bin: handle thousands of output files 2023-07-24 16:56:24 +02:00
common_aoutput.hh bin: allow %l to be used to print serial numbers 2023-07-21 17:16:19 +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: fix number conversion routines on 32bit 2023-01-25 08:36:27 +01: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: fix handling of -o '>>-' in the close/reopen path 2023-07-26 21:50:16 +02:00
common_file.hh bin: handle thousands of output files 2023-07-24 16:56:24 +02:00
common_finput.cc more code smells 2023-01-10 21:53:40 +01:00
common_finput.hh more code smells 2023-01-10 21:53:40 +01:00
common_hoaread.cc bin: fix documentation of --trust-hoa 2019-12-06 12:48:30 +01:00
common_hoaread.hh bin: separate process_file() for aut and ltl 2022-06-22 19:37:41 +02:00
common_output.cc improve coverage of LaTeX/utf8 printers for SERE 2023-07-27 16:30:35 +02:00
common_output.hh improve coverage of LaTeX/utf8 printers for SERE 2023-07-27 16:30:35 +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: fix number conversion routines on 32bit 2023-01-25 08:36:27 +01:00
common_range.hh ltlfilt: implement --reject-word and --accept-word 2016-04-09 10:10:41 +02:00
common_setup.cc bin: update copyright year and laboratory name 2023-01-23 16:07:49 +01:00
common_setup.hh more code smells 2023-01-10 21:53:40 +01: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 more code smells 2023-01-10 21:53:40 +01:00
common_trans.hh more code smells 2023-01-10 21:53:40 +01:00
dstar2tgba.cc bin: allow %l to be used to print serial numbers 2023-07-21 17:16:19 +02:00
genaut.cc bin: allow %l to be used to print serial numbers 2023-07-21 17:16:19 +02:00
genltl.cc bin: allow %l to be used to print serial numbers 2023-07-21 17:16:19 +02:00
ltl2tgba.cc bin: allow %l to be used to print serial numbers 2023-07-21 17:16:19 +02:00
ltl2tgta.cc more code smells 2023-01-10 21:53:40 +01:00
ltlcross.cc more code smells 2023-01-10 21:53:40 +01:00
ltldo.cc bin: allow %l to be used to print serial numbers 2023-07-21 17:16:19 +02:00
ltlfilt.cc relabel: introduce an overlapping relabeling version 2023-08-30 16:49:19 +02:00
ltlgrind.cc bin: allow %l to be used to print serial numbers 2023-07-21 17:16:19 +02:00
ltlsynt.cc ltlsynt: typo in doc 2023-01-23 16:35:16 +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: allow %l to be used to print serial numbers 2023-07-21 17:16:19 +02:00
randltl.cc improve coverage of LaTeX/utf8 printers for SERE 2023-07-27 16:30:35 +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 translate: add a new relabel-overlap option 2023-08-30 16:49:28 +02:00
spot.cc declare all argp_program_doc as static 2022-10-25 16:31:35 +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.