From 1eab04582dbe8430a0d4f8822980df0a07551e6a Mon Sep 17 00:00:00 2001 From: LtWorf Date: Thu, 31 Mar 2011 08:26:13 +0000 Subject: [PATCH] - Inserted language definition in parser git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@294 014f5005-505e-4b48-8d0a-63407b615a7c --- relational/parser.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/relational/parser.py b/relational/parser.py index 6026043..97f4735 100644 --- a/relational/parser.py +++ b/relational/parser.py @@ -26,6 +26,18 @@ # # The input must be provided in UTF-8 # +# +# Language definition: +# Query := Ident +# Query := Query BinaryOp Query +# Query := (Query) +# Query := σ PYExprWithoutParenthesis (Query) | σ (PYExpr) (Query) +# Query := π FieldList (Query) +# Query := ρ RenameList (Query) +# FieldList := Ident | Ident , FieldList +# RenameList := Ident ➡ Ident | Ident ➡ Ident , RenameList +# BinaryOp := * | - | ᑌ | ᑎ | ÷ | ᐅᐊ | ᐅLEFTᐊ | ᐅRIGHTᐊ | ᐅFULLᐊ +# # Language definition here: # https://galileo.dmi.unict.it/wiki/relational/doku.php?id=language