bin: use regexes to detect shorthands, and add support for owl-21.0
Fixes #480. * bin/common_trans.cc (shorthands_ltl, shorthands_autproc): Write those lists using regexes. Add entries for Owl 21.0. (show_shorthands, tool_spec): Adjust to use those regexes. * doc/org/autcross.org, doc/org/ltlcross.org, doc/org/ltldo.org: Update the list of shorthands. * tests/core/ltldo.test: Add a couple of tests. * NEWS: Mention this new feature.
This commit is contained in:
parent
97046ea263
commit
f99ddef787
6 changed files with 90 additions and 76 deletions
|
|
@ -185,24 +185,20 @@ ltlcross --list-shorthands
|
|||
#+RESULTS:
|
||||
#+begin_example
|
||||
If a COMMANDFMT does not use any %-sequence, and starts with one of
|
||||
the following words, then the string on the right is appended.
|
||||
the following regexes, then the string on the right is appended.
|
||||
|
||||
delag %f>%O
|
||||
lbt <%L>%O
|
||||
ltl2ba -f %s>%O
|
||||
ltl2da %f>%O
|
||||
ltl2dgra %f>%O
|
||||
ltl2dpa %f>%O
|
||||
ltl2dra %f>%O
|
||||
ltl2ldba %f>%O
|
||||
ltl2dstar --output-format=hoa %[MW]L %O
|
||||
ltl2tgba -H %f>%O
|
||||
ltl3ba -f %s>%O
|
||||
ltl3dra -f %s>%O
|
||||
ltl3hoa -f %f>%O
|
||||
ltl3tela -f %f>%O
|
||||
modella %[MWei^]L %O
|
||||
spin -f %s>%O
|
||||
delag %f>%O
|
||||
lbt <%L>%O
|
||||
ltl2ba -f %s>%O
|
||||
ltl2(da|dgra|dpa|dra|ldba|na|nba|ngba) %f>%O
|
||||
ltl2dstar --output-format=hoa %[MW]L %O
|
||||
ltl2tgba -H %f>%O
|
||||
ltl3(ba|dra|hoa|tela) -f %s>%O
|
||||
modella %[MWei^]L %O
|
||||
spin -f %s>%O
|
||||
owl.* ltl2[bdeglnpr]+a\b -f %f>%O
|
||||
owl.* ltl2delta2\b -f %f
|
||||
owl.* ltl-utilities\b -f %f
|
||||
|
||||
Any {name} and directory component is skipped for the purpose of
|
||||
matching those prefixes. So for instance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue