Add back the '*' syntax for And.
This somehow revert changes from 2010-01-30 which killed this use of star to make room for the Kleen star. Here we only allow '*' in the temporal formula, so that it can still be the Kleen star in SERE. The motivation for '*' available as And is better compatibility with Wring and VIS. * src/ltlparse/ltlscan.ll: Distinguish * from [*]. * src/ltlparse/ltlparse.yy: Allows * to be used as AND between temporal formulae. * src/ltltest/equals.test, src/ltltest/parse.test: Add a few tests. * doc/tl/tl.tex: Document it.
This commit is contained in:
parent
60ec3acea0
commit
5939d6f493
5 changed files with 33 additions and 9 deletions
|
|
@ -51,6 +51,7 @@ run 0 ../equals 'a & a & true' 'a'
|
|||
run 0 ../equals 'a & false & a' 'false'
|
||||
run 0 ../equals 'a | false | a' 'a'
|
||||
run 0 ../equals 'true | a | a' 'true'
|
||||
run 0 ../equals 'Ga=1*Gb=0' '(G(a)) & (G(!b))'
|
||||
|
||||
# other formulae which are not
|
||||
run 1 ../equals 'a' 'b'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue