aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parser.mly
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-07-11 03:15:25 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2026-07-11 03:15:25 -0300
commit40376c3ea009eab4db9ba27837e61d8bec310b8f (patch)
tree725c1e789871f0c34a752f901d056e4007814965 /lib/parser.mly
parentc530682030e80ee2de2c263471e5eda7a3392e84 (diff)
downloadSOL-40376c3ea009eab4db9ba27837e61d8bec310b8f.tar.gz
SOL-40376c3ea009eab4db9ba27837e61d8bec310b8f.zip
negation, quantifiers and membership criteria as schema domains
Diffstat (limited to '')
-rw-r--r--lib/parser.mly3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/parser.mly b/lib/parser.mly
index c85eccc..4bac905 100644
--- a/lib/parser.mly
+++ b/lib/parser.mly
@@ -8,7 +8,7 @@ open Ast
%token <string> NAME
%token <string> LABEL
%token LBRACKET RBRACKET LBRACE RBRACE LPAREN RPAREN HASH_LPAREN
-%token BAR AND OR EOF
+%token BAR AND OR NOT EOF
%start <Ast.statement list> program
@@ -32,6 +32,7 @@ node:
conjunction:
| left = conjunction; AND; right = operand { And (left, right) }
+ | left = conjunction; NOT; right = operand { Not (left, right) }
| operand = operand { operand }
operand: