aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/language/problem.grammar
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/language/problem.grammar')
-rw-r--r--subprojects/frontend/src/language/problem.grammar9
1 files changed, 8 insertions, 1 deletions
diff --git a/subprojects/frontend/src/language/problem.grammar b/subprojects/frontend/src/language/problem.grammar
index 6fb188d8..58c398a3 100644
--- a/subprojects/frontend/src/language/problem.grammar
+++ b/subprojects/frontend/src/language/problem.grammar
@@ -57,7 +57,12 @@ Conjunction { ("," | Literal)+ }
57 57
58OrOp { ";" } 58OrOp { ";" }
59 59
60Literal { Modality? NotOp? Modality? Atom ((":" | "=") LogicValue)? } 60Literal {
61 Modality? (
62 NotOp? Modality? Atom ((":" | "=") LogicValue)? |
63 ckw<"count"> "{" Modality? Atom "}" ComparisonOp int
64 )
65}
61 66
62Atom { RelationName "+"? ParameterList<Argument> } 67Atom { RelationName "+"? ParameterList<Argument> }
63 68
@@ -141,6 +146,8 @@ sep1<separator, content> { content (separator content)* }
141 "\"" (![\\"\n] | "\\" (![\n] | "\n"))* "\"" 146 "\"" (![\\"\n] | "\\" (![\n] | "\n"))* "\""
142 } 147 }
143 148
149 ComparisonOp { ">" | ">=" | "<" | "<=" | "=:=" | "=!=" }
150
144 NotOp { "!" } 151 NotOp { "!" }
145 152
146 UnknownOp { "?" } 153 UnknownOp { "?" }