1. 09 Dec, 2014 1 commit
  2. 08 Dec, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      graph: let transitions() iterate only on valid transitions · fbbf584b
      Alexandre Duret-Lutz authored
      This fixes #6.
      
      * src/graph/graph.hh: Rename the old transitions() as
      transition_vector(), and implement a new transitions() that iterates
      only on non-dead transitions.
      * src/tgba/tgbagraph.hh, src/tgba/tgbagraph.cc, src/graph/ngraph.hh:
      Adjust wrappers.
      * src/hoaparse/hoaparse.yy, src/tgbaalgos/complete.cc,
      src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc,
      src/tgbaalgos/randomize.cc, src/tgbaalgos/safety.cc: Adjust calls.
      fbbf584b
  3. 04 Dec, 2014 4 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
      neverclaim: fix reporting of parse_boolean() errors · ebc3d649
      Alexandre Duret-Lutz authored
      * src/hoaparse/hoaparse.yy: Correctly adjust the
      location of error messagges.
      * src/tgbatest/neverclaimread.test: Add test case.
      ebc3d649
    • Alexandre Duret-Lutz's avatar
      neverclaim: fix parsing of aliased states · d0525871
      Alexandre Duret-Lutz authored
      * src/graph/ngraph.hh (alias_states): Deal with the case
      of aliasing two existing states.
      * src/hoaparse/hoaparse.yy: Fix handling of aliased states.
      * src/tgbatest/neverclaimread.test: Augment test case.
      d0525871
    • 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
  4. 25 Nov, 2014 1 commit
    • Alexandre Duret-Lutz's avatar
      hoa: improve parser and scanner · e7e21ae5
      Alexandre Duret-Lutz authored
      * src/hoaparse/hoaparse.yy: Improve error reporting
      in case labeled edges are mixed with unlabeled edges.
      * src/hoaparse/hoascan.ll: Fix handling of nested comments.
      * src/tgbatest/hoaparse.test: More coverage.
      e7e21ae5
  5. 21 Nov, 2014 8 commits
  6. 20 Nov, 2014 2 commits
  7. 19 Nov, 2014 2 commits
    • Alexandre Duret-Lutz's avatar
      hoa: make it possible to read a stream of automata · 131299d0
      Alexandre Duret-Lutz authored
      * src/bin/autfilt.cc: Loop over all automata in a file.
      * src/hoaparse/public.hh: Turn the parser into an object.
      * src/hoaparse/hoaparse.yy: Adjust.
      131299d0
    • 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