-$Id: README,v 1.6 2002-10-30 11:13:18 mike Exp $
+$Id: README,v 1.8 2002-11-01 23:45:28 mike Exp $
cql-java -- a free CQL compiler for Java
DESCRIPTION
-----------
-Se the automatically generated class documentation in the "doc"
-subdirectory. (### It's not there yet, of course)
+See the automatically generated class documentation in the "doc"
+subdirectory. (It's not all there yet, but it's coming.)
AUTHOR
restrictive) until I say otherwise.
+TESTING
+-------
+
+Ways of testing the parser and other components include:
+
+* Generate a random tree with CQLGenerate, take a copy, and
+ canonicalise it with CQLparser -c. Since the CQLGenerate output is
+ in canonical form anyway, the before-and-after versions should be
+ identical.
+
+* ... others :-)
+
+
SEE ALSO
--------
TO DO
-----
-* Add proximity support to parser
+* Allow CQLGenerate test-harness to take some of its configuration
+ parameters on the command-line as well as or instead of a file.
-* Some niceties for the CQL-decompiling back-end:
- * Don't emit redundant parentheses.
- * Don't put spaces around relations that don't need them.
+* 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 PQN-generating back-end (will need to be driven from a
+* Write pqn-generating back-end (will need to be driven from a
configuation file specifying how to represent the qualifiers,
- relations, relation modifiers and wildcard characters as Z39.50
+ relations, relation modifiers and wildcard characters as z39.50
attributes.)
* 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
- query-type, but you could achieve the same effect by generating PQN,
+ query-type; but you could achieve the same effect by generating PQN,
and running that through JZKit's existing PQN-to-Type-1 compiler.
* Refinements to random query generator:
* Write generic test suite.
-* Fix CQLParser test harness to read query from command-line
- arguments, if any, falling back to stdin if there are none.
-