1. 21 Oct, 2012 1 commit
    • Alexandre Duret-Lutz's avatar
      postproc: add the possibility to output a monitor · 76787b23
      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.
      76787b23
  2. 20 Oct, 2012 4 commits
  3. 19 Oct, 2012 5 commits
  4. 18 Oct, 2012 2 commits
  5. 17 Oct, 2012 1 commit
    • Alexandre Duret-Lutz's avatar
      ltlparse: add a lenient parsing mode · 86dac4aa
      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.
      86dac4aa
  6. 15 Oct, 2012 6 commits
  7. 14 Oct, 2012 9 commits
  8. 13 Oct, 2012 12 commits