-$Id: README,v 1.13 2002-11-05 17:20:30 mike Exp $
+$Id: README,v 1.15 2002-11-06 20:13:45 mike Exp $
cql-java - a free CQL compiler, and other CQL tools, for Java
* A selection of compiler back-ends to render out the parse tree as:
* XCQL (the standard XML representation)
* CQL (i.e. decompiling the parse-tree)
- * PQF (Yaz-style Prefix Query Format) [### NOT YET]
+ * PQF (Yaz-style Prefix Query Format)
* A random query generator, useful for testing.
CQL is "Common Query Language", a new query language designed under
CQLNode root = parser.parse("title=dinosaur");
System.out.print(root.toXCQL(0));
System.out.println(root.toCQL());
- System.out.println(root.toPQF(qualSet));
- // ... where `qualSet' specifies CQL-qualfier => Z-attr mapping
+ System.out.println(root.toPQF(config));
+ // ... where `config' specifies CQL-qualfier => Z-attr mapping
DESCRIPTION
-----------
See the automatically generated class documentation in the "doc"
-subdirectory. (It's not all there yet, but it's coming.)
+subdirectory.
AUTHOR
THINGS TO DO
------------
-* ### Make necessary parts of CQLNode etc. public.
-
* ### Fix bug where "9x" is parsed as two tokens, a TT_NUMBER followed
by a TT_WORD. The problem here is that I don't think it's actually
possible to fix this without throwing out StreakTokenizer and
rolling our own, which we absolutely _don't_ want to do.
+* Write javadoc comments for CQLRelation and ModifierSet.
+
+* Write "overview" file for the javadoc documentation.
+
* Allow keywords to be used unquoted as search terms.
* Some niceties for the cql-decompiling back-end:
* don't emit redundant parentheses.
* don't put spaces around relations that don't need them.
-* Write the PQN-generating back-end. This will need to be driven from
- a configuation file specifying how to represent the qualifiers,
- relations, relation modifiers and wildcard characters as z39.50
- attributes. I think Ray has such a thing, though perhaps not yet in
- a form sufficiently rigorous to be computer-readable.
-
* Consider the utility of yet another back-end that translates a
CQLNode tree into a Type-1 query tree using the JZKit data
structures. That would be nice so that CQL could become a JZKit
* Introduce wildcard characters into generated terms
* Generate multi-word terms
-* Write fuller "javadoc" comments.