- 21 Oct, 2012 3 commits
-
-
Alexandre Duret-Lutz authored
* src/bin/ltlcheck.cc, src/bin/man/ltlcheck.x, src/tgbatest/ltlcheck.test, src/tgbatest/ltlcheck2.test: Rename as ... * src/bin/ltlcross.cc, src/bin/man/ltlcross.x, src/tgbatest/ltlcross.test, src/tgbatest/ltlcross2.test: ... these. * NEWS, src/bin/Makefile.am, src/bin/man/Makefile.am, src/tgbatest/Makefile.am: Adjust.
-
Alexandre Duret-Lutz authored
* src/tgba/tgbaexplicit.hh (state_is_accepting): Use all_acceptance_conditions(), not all_acceptance_conditions_, so that it works even when all_acceptance_conditions_ is not ready. * src/tgbatest/explicit2.cc, src/tgbatest/explicit2.test: Adjust test case.
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/stripacc.cc, src/tgbaalgos/stripacc.hh: New files. * src/tgbaalgos/Makefile.am: Add them. * src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: Add a Monitor output option. * src/bin/ltl2tgba.cc: Add a --monitor/-M option. * NEWS: Mention monitors. * src/tgba/tgbaexplicit.hh (is_accepting_state): Fix for the case where the automaton has no acceptance set.
-
- 20 Oct, 2012 5 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/ltlparse/public.hh, src/ltlparse/ltlparse.yy (parse_boolean): New function. * src/neverparse/neverclaimparse.yy, src/tgbaparse/tgbaparse.yy: Use it.
-
Alexandre Duret-Lutz authored
* src/ltlvisit/tostring.cc: Fix duplicate parentheses around argument of unary operators when full_parent=true.
-
Alexandre Duret-Lutz authored
* src/ltlvisit/tostring.hh, src/ltlvisit/tostring.cc (to_wring_string): New option. * src/bin/common_output.hh, src/bin/common_output.cc: Add support for a --wring option. * src/bin/ltlcheck.cc: Add %w and %W format specifiers.
-
Alexandre Duret-Lutz authored
-
- 19 Oct, 2012 5 commits
-
-
Alexandre Duret-Lutz authored
In particular, this get rid of the ugly -? option that argp adds by default, and we also remove -V so that we can use it for something else later. * src/bin/common_setup.cc, src/bin/common_setup.hh (misc_argp): Provide support for --help/--version/--usage output, replacing argp's default builting version. * src/bin/genltl.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc, src/bin/ltlcheck.cc, src/bin/ltlfilt.cc, src/bin/randltl.cc: Call argp_parse() with ARGP_NO_HELP, and use misc_argp instead.
-
Alexandre Duret-Lutz authored
* src/misc/accconv.cc (as_positive_product): Use a small loop instead of calling bdd_satone().
-
Alexandre Duret-Lutz authored
* src/tgba/tgbaexplicit.hh (merge_transitions): Use a hash table to merge compatible transitions. * src/tgbatest/readsave.test: Add a test case.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/lbtt.cc: Renumber acceptance sets as they are read. * src/tgbatest/lbttparse.test: Add a test cases.
-
- 18 Oct, 2012 2 commits
-
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/lbtt.cc: Do not expect a new line after the number of acceptance conditions. * src/tgbatest/lbttparse.test: Add a test case.
-
Alexandre Duret-Lutz authored
* src/ltlparse/ltlparse.yy (try_recursive_parse): Diagnose empty strings. * src/ltltest/lenient.test: Add tests.
-
- 17 Oct, 2012 2 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
Spin 6 supports formulas such as []<>(a < b) so that atomic properties need not be specified using #define. Of course we don't want to implement all the syntax of Spin in our LTL parser because other tools may have different syntaxes for their atomic propositions. The lenient mode tells the scanner to return any (...), {...}, or {...}! block as a single token. The parser will try to recursively parse this block as a LTL/SERE formula, and if this fails, it will consider the block to be an atomic proposition. The drawback is that most syntax errors will no be considered to be atomic propositions. For instance (a U b U) is a single atomic proposition in lenient mode, and a syntax error in default mode. * src/ltlparse/ltlparse.yy, src/ltlparse/ltlscan.ll, src/ltlparse/parsedecl.hh, src/ltlparse/public.hh: Add a lenient parsing mode. Simplify the lexer using yy_scan_string. * src/bin/common_finput.cc: Add a --lenient option. * src/ltltest/lenient.test: New file. * src/ltltest/Makefile.am: Add it. * src/neverparse/neverclaimparse.yy: Parse the guards in lenient mode. * src/tgbatest/neverclaimread.test: Adjust. * src/ltlvisit/tostring.cc: When outputing a formula in Spin's syntax, output (a < b) instead of "a < b". * src/misc/escape.cc, src/misc/escape.hh (trim): New helper function.
-
- 15 Oct, 2012 7 commits
-
-
Alexandre Duret-Lutz authored
* src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc: Destroy the translated formulas. * src/bin/ltlcheck.cc, src/bin/ltlfilt.cc: Free the unicity table on exit.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/bin/ltlcheck.cc: filter duplicate formulas, unless the new --allow-dups option is used.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/bin/man/genltl.x, src/bin/man/ltlcheck.x, src/bin/man/ltlfilt.x, src/bin/man/randltl.x: Use .BR in the SEE ALSO section.
-
Alexandre Duret-Lutz authored
* src/bin/ltlcheck.cc: Add option --json and --csv. * src/bin/man/ltlcheck.x: Adjust examples. * src/tgbatest/ltlcheck.test: Do not output any statistic. * src/tgbatest/ltlcheck2.test: Output both JSON and CSV stats.
-
Alexandre Duret-Lutz authored
-
- 14 Oct, 2012 10 commits
-
-
Alexandre Duret-Lutz authored
* src/bin/ltlcheck.cc: Here.
-
Alexandre Duret-Lutz authored
* src/tgbatest/ltlcheck.test, src/tgbatest/ltlcheck2.test: New files. * src/tgbatest/Makefile.am: Add them.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/bin/ltlcheck.cc (sig_handler): Exit when receiving the signal.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/bin/man/ltlcheck.x: New file. * src/bin/man/Makefile.am: Add it. * src/bin/ltlcheck.cc: Arrange help text.
-
Alexandre Duret-Lutz authored
* src/ltlast/formula.hh (has_lbt_atomic_props): New method. * src/ltlast/formula.cc (printprops): Display it. * src/ltlast/atomic_prop.cc: Update it. * src/bin/ltlcheck.cc, src/bin/genltl.cc: Use it. * doc/tl/tl.tex: Menton has_lbt_atomic_props().
-
Alexandre Duret-Lutz authored
* configure.ac: Check for kill and alarm. * src/bin/ltlcheck.cc: Disable timeout code when kill or alarm are missing. Recognize the --timeout option, but display a warning.
-
Alexandre Duret-Lutz authored
kill(-x,y) is more portable than killpg(x,y) * src/bin/ltlcheck.cc: Use kill.
-
Alexandre Duret-Lutz authored
-
- 13 Oct, 2012 6 commits
-
-
Alexandre Duret-Lutz authored
Also, upgrade to gnulib 4af1990a0902f5914f582bade9d1aa843a291f5a. * lib/sys_wait.in.h, m4/sys_wait_h.m4: New files. * m4/sys_stat_h.m4, m4/stdlib_h.m4, m4/gnulib-comp.m4, m4/gnulib-cache.m4, lib/stdlib.in.h, lib/Makefile.am: Update.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/lbtt.cc (lbtt_read_gba): New function. (lbtt_parse): Call lbtt_read_gba. * src/tgbatest/lbttparse.test: Add a test.
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
We used to output 0 and 1, but "spin -f" does not under understand that. * src/ltlvisit/tostring.cc (kw_spin): Output true and false instead of 0 and 1.
-
Alexandre Duret-Lutz authored
-