Mercurial > pub > Impl
diff Schema/query.def @ 0:03e58a454b20
Создан репозитарий
author | Sergey |
---|---|
date | Tue, 14 Jul 2009 12:54:37 +0400 |
parents | |
children | 16ada169ca75 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Schema/query.def Tue Jul 14 12:54:37 2009 +0400 @@ -0,0 +1,27 @@ +syntax ::= select expr_list from var_defs where condition + +name ::= <\w>+ + +fqdn ::= name[.name...] + +string ::= '[{<^'>+|<'>{2}}...]' + +number ::= [{+|-}] <\d>+ + +math_op ::= {+|-|*|/} + +compare_op ::= {<\>>|<\<>|==|!=} + +log_op ::= {OR|AND} + +not_op ::= NOT + +expr ::= {string|number|fqdn} [math_op {string|number|fqdn|( expr )} ...] + +expr_list ::= expr [, expr ...] + +type ::= name [<\<>type [, type ...]<\>>] + +condition ::= [not_op] expr compare_op expr [log_op {condition|( condition )} ...] + +var_defs ::= name as type [, name as type ...] \ No newline at end of file