New function: p_query_attset.
[yaz-moved-to-github.git] / README
diff --git a/README b/README
index 7dfc5ba..8096b34 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 
 
- * Copyright (C) 1995, Index Data.
+ * Copyright (C) 1995-1996, Index Data.
  * See the file LICENSE for details.
  * Sebastian Hammer, Adam Dickmeiss
 
  * See the file LICENSE for details.
  * Sebastian Hammer, Adam Dickmeiss
 
@@ -35,13 +35,14 @@ Use '?' to get a list of the available commands.
 
 The current query language is a bit awkward, but functional:
 
 
 The current query language is a bit awkward, but functional:
 
-query::= complex | simple | attr query.
-complex ::= operator query query.
+query    ::= ['@attrset' <attribute-set>] rpn
+rpn      ::= complex | simple | attr rpn
+complex  ::= operator rpn rpn
 operator ::= '@and' | '@or' | '@not'.
 operator ::= '@and' | '@or' | '@not'.
-simple ::= term | set.
-term ::= <word> | '"' <term> .. '"'.
-set ::= '@set' <setname>.
-attr ::= '@attr' <number> '=' <number>.
+simple   ::= term | set.
+term     ::= <word> | '"' <term> ... '"'.
+set      ::= '@set' <setname>.
+attr     ::= '@attr' [<attribute-set>] <number> '=' <number>.
 
 Eg.:
 
 
 Eg.:
 
@@ -51,6 +52,8 @@ Andersen
 
 @and @attr 1=1 andersen @attr 1=4 @attr 4=2 duckling
 
 
 @and @attr 1=1 andersen @attr 1=4 @attr 4=2 duckling
 
+@attrset Bib-1 @and @attr GILS 2=2008 Washington @attr 1=21 weather
+
 The directories:
 
 doc     - Documentation.
 The directories:
 
 doc     - Documentation.