From 276f40602ea53410e6968161444dbc1acaa0ec55 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Thu, 6 Apr 2017 14:30:40 +0200 Subject: [PATCH] bin: add shorthands for ltl2dpa ltl2da and ltl2ldba * bin/common_trans.cc: Here. * doc/org/ltlcross.org, doc/org/ltldo.org, NEWS: Adjust. --- NEWS | 5 +++++ bin/common_trans.cc | 3 +++ doc/org/ltlcross.org | 3 +++ doc/org/ltldo.org | 3 +++ 4 files changed, 14 insertions(+) diff --git a/NEWS b/NEWS index 4df7fcfaf..112e6f8aa 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,10 @@ New in spot 2.3.2.dev (not yet released) + Tools: + + - ltldo and ltlcross learned shorthands to talk to ltl2da, ltl2dpa, + and ltl2ldba (from Owl) without needing to specify %f>%O. + Bug fixes: - In "lenient" mode the parser would fail to recover from diff --git a/bin/common_trans.cc b/bin/common_trans.cc index e351ef3ce..73ebad376 100644 --- a/bin/common_trans.cc +++ b/bin/common_trans.cc @@ -43,6 +43,9 @@ static struct shorthands_t shorthands[] = { { "lbt", " <%L>%O" }, { "ltl2ba", " -f %s>%O" }, + { "ltl2da", " %f>%O" }, + { "ltl2dpa", " %f>%O" }, + { "ltl2ldba", " %f>%O" }, { "ltl2dstar", " --output-format=hoa %[MW]L %O"}, { "ltl2tgba", " -H %f>%O" }, { "ltl3ba", " -f %s>%O" }, diff --git a/doc/org/ltlcross.org b/doc/org/ltlcross.org index 3afde30e9..64c98e0a5 100644 --- a/doc/org/ltlcross.org +++ b/doc/org/ltlcross.org @@ -182,6 +182,9 @@ the following words, then the string on the right is appended. lbt <%L>%O ltl2ba -f %s>%O + ltl2da %f>%O + ltl2dpa %f>%O + ltl2ldba %f>%O ltl2dstar --output-format=hoa %[MW]L %O ltl2tgba -H %f>%O ltl3ba -f %s>%O diff --git a/doc/org/ltldo.org b/doc/org/ltldo.org index bd932deeb..1c20622ab 100644 --- a/doc/org/ltldo.org +++ b/doc/org/ltldo.org @@ -309,6 +309,9 @@ the following words, then the string on the right is appended. lbt <%L>%O ltl2ba -f %s>%O + ltl2da %f>%O + ltl2dpa %f>%O + ltl2ldba %f>%O ltl2dstar --output-format=hoa %[MW]L %O ltl2tgba -H %f>%O ltl3ba -f %s>%O -- GitLab