tl: add support for ##[+] and ##[*]
Suggested by Victor Khomenko. * spot/parsetl/parsetl.yy, spot/parsetl/scantl.ll: Implement them. * NEWS, doc/tl/tl.tex: Document them. * tests/core/sugar.test: Add a couple of tests.
This commit is contained in:
parent
b726d78cbd
commit
f476483f4a
5 changed files with 19 additions and 3 deletions
1
NEWS
1
NEWS
|
|
@ -58,6 +58,7 @@ New in spot 2.7.4.dev (not yet released)
|
|||
way to write {[*2];a:b[+];c;1;e}, and {a ##[i:j] b} is parsed as
|
||||
{a:{[*i..j];b}}. The formula::sugar_delay() function implement
|
||||
this SVA operator in terms of the existing PSL operators.
|
||||
##[+] and ##[*] are sugar for ##[1:$] and ##[0:$].
|
||||
|
||||
- spot::relabel_apply() make it easier to reverse the effect
|
||||
of spot::relabel() or spot::relabel_bse() on formula.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue