1. 28 Feb, 2015 2 commits
    • Alexandre Duret-Lutz's avatar
      add a stutter-invariant property to automata · 1f0bb428
      Alexandre Duret-Lutz authored
      ... and show it in the HOA output.  Fixes #60.
      
      * src/tgba/tgba.hh: Add is_stutter_invariant().
      * src/tgbaalgos/hoa.cc: Print stutter-invariant
      and inherently-weak.
      * src/tgbaalgos/ltl2tgba_fm.cc: Set both.
      * src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/complete.cc,
      src/tgbaalgos/degen.cc, src/tgbaalgos/dtgbacomp.cc,
      src/tgbaalgos/mask.cc, src/tgbaalgos/minimize.cc,
      src/tgbaalgos/remfin.cc, src/tgbaalgos/sccfilter.cc,
      src/tgbaalgos/simulation.cc, src/tgbaalgos/stutter.cc,
      src/tgbatest/hoaparse.test, src/tgbatest/ltldo.test,
      src/tgbatest/monitor.test, src/tgbatest/randomize.test,
      src/tgbatest/remfin.test, src/tgbatest/sbacc.test: Adjust.
      1f0bb428
    • Alexandre Duret-Lutz's avatar
      hoa: add option to output implicit labels · 566118a5
      Alexandre Duret-Lutz authored
      Fixes #59.
      
      * src/tgbaalgos/hoa.cc: Add option i.
      * src/bin/common_aoutput.cc, src/bin/dstar2tgba.cc,
      src/tgbaalgos/hoa.hh: Document it.
      * src/tgbatest/hoaparse.test: Test it.
      566118a5
  2. 26 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      Add a cleanup_acceptance() algorithm · 659107a0
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/cleanacc.cc, src/tgbaalgos/cleanacc.hh: New file.
      * src/tgbaalgos/Makefile.am: Add them.
      * src/tgba/acc.hh, src/tgba/tgba.hh (get_acceptance): Return a
      reference.
      * src/bin/autfilt.cc: Add a --cleanup-acceptance option.
      * src/tgbatest/hoaparse.test: Test it.
      659107a0
  3. 23 Feb, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      Preliminirary support for generic acceptance. · fd1f6c4d
      Alexandre Duret-Lutz authored
      * src/tgba/acc.hh: Add creation and printing of generic acceptance
      code.
      * src/tgba/acc.cc: New file.
      * src/tgba/Makefile.am: Add it.
      * src/tgbatest/acc.cc: More tests.
      * src/tgbatest/acc.test: Update.
      * src/tgba/tgba.hh (set_acceptance, get_acceptance): New methods.
      * src/tgba/tgbagraph.hh: Store acceptance code.
      * src/hoaparse/hoaparse.yy: Read any acceptance.
      * src/dstarparse/nsa2tgba.cc, src/ta/taexplicit.cc,
      src/tgba/tgbaproduct.cc, src/tgba/tgbasafracomplement.cc,
      src/tgbaalgos/degen.cc, src/tgbaalgos/hoa.cc,
      src/tgbaalgos/ltl2taa.cc, src/tgbaalgos/ltl2tgba_fm.cc,
      src/tgbaalgos/product.cc, src/tgbaalgos/stutter.cc,
      src/tgbatest/hoaparse.test: Adjust.
      fd1f6c4d
  4. 03 Feb, 2015 1 commit
  5. 02 Feb, 2015 1 commit
  6. 28 Jan, 2015 1 commit
  7. 25 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      never: use state-names as comments · e5294aac
      Alexandre Duret-Lutz authored
      * src/tgbaalgos/neverclaim.cc: Here.
      * src/hoaparse/hoaparse.yy: Use set_acceptance_conditions() to set
      the number of acceptance sets.  Otherwise, the single_acc_set property
      is not set.
      * src/tgbaalgos/postproc.cc: When expecting a BA or a monitor, do not do
      anything if the input is already a BA or a monitor.
      * src/tgbatest/hoaparse.test: Add a test case.
      * src/tgbatest/readsave.test: Adjust.
      e5294aac
  8. 23 Jan, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      hoa,dot: propagate state names · 9add895b
      Alexandre Duret-Lutz authored
      * src/hoaparse/hoaparse.yy: Store state names.
      * src/tgbaalgos/dotty.cc, src/tgbaalgos/hoa.cc: Output them.
      * src/tgbatest/readsave.test: Test this.
      * src/tgbatest/hoaparse.test: Update.
      9add895b
  9. 21 Jan, 2015 1 commit
  10. 20 Jan, 2015 2 commits
  11. 05 Jan, 2015 3 commits
  12. 04 Jan, 2015 1 commit
  13. 11 Dec, 2014 2 commits
  14. 10 Dec, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      hoaparse: also accept LBTT input · 6eb2b06f
      Alexandre Duret-Lutz authored
      This is probably the worse grammar I wrote: the LBTT format is designed
      to be scanned with scanf, and very inconvenient to parse with
      bison/flex.  Here the scanner basically has to emulate a parser to
      classify the different INTs as tokens with different types.
      
      * src/hoaparse/hoaparse.yy, src/hoaparse/hoascan.ll: Add rules for LBTT.
      * src/hoaparse/parsedecl.hh: Add a way to reset the parser between each
      automata.
      * src/tgbatest/hoaparse.test, src/tgbatest/lbttparse.test: Add more
      tests.
      6eb2b06f
  15. 09 Dec, 2014 1 commit
  16. 05 Dec, 2014 1 commit
  17. 04 Dec, 2014 2 commits
    • Alexandre Duret-Lutz's avatar
      how: fix multi-line incomplete strings · ad771454
      Alexandre Duret-Lutz authored
      Location tracking was incorrect for multi-line
      strings/comments/parentheses.  This also fixes and tests recovery on
      inclosed strings/comments/parentheses.
      
      * src/hoaparse/hoaparse.yy: Abort on expected EOF.
      * src/hoaparse/hoascan.ll: Track newlines inside strings and comments.
      Do not use unput() to close incomplete parentheses.
      * src/tgbatest/neverclaimread.test, src/tgbatest/hoaparse.test: Add
      more tests.
      ad771454
    • Alexandre Duret-Lutz's avatar
      hoa: swallow the neverclaim parser · e1bba500
      Alexandre Duret-Lutz authored
      This way we can easily parse a stream of HOAs intermixed with
      neverclaims.
      
      * src/hoaparse/hoaparse.yy, src/hoaparse/hoascan.ll: Add rules
      for neverclaims, adjusted from src/neverparse/neverclaimparse.yy
      and src/neverparse/neverclaimparse.ll.
      * src/hoaparse/public.hh, NEWS: Update documentation.
      * src/neverparse/: Remove this directory.
      * README, configure.ac, src/Makefile.am: Adjust accordingly.
      * src/tgbatest/ltl2tgba.cc, src/bin/ltlcross.cc: Use HOA
      parser to read neverclaims.
      * src/tgbatest/hoaparse.test, src/tgbatest/neverclaimread.test: Adjust.
      e1bba500
  18. 25 Nov, 2014 6 commits
  19. 21 Nov, 2014 8 commits
  20. 20 Nov, 2014 2 commits
  21. 19 Nov, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      hoa: preliminary implementation of a parser · e55bcd95
      Alexandre Duret-Lutz authored
      * src/hoaparse/Makefile.am, src/hoaparse/fmterror.cc,
      src/hoaparse/hoaparse.yy, src/hoaparse/hoascan.ll,
      src/hoaparse/parsedecl.hh, src/hoaparse/public.hh: New files.
      * src/Makefile.am, configure.ac, README: Adjust.
      * src/tgbatest/ltl2tgba.cc: Add a -XH option.
      * src/tgbatest/hoaparse.test: New file.
      * src/tgbatest/Makefile.am: Adjust.
      * buddy/src/bddx.h: Add a bdd_from_int() function.
      e55bcd95