From: mike Date: Sat, 2 Nov 2002 01:24:41 +0000 (+0000) Subject: README tweaks; added CQLGenerator script X-Git-Tag: v1.5~245 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=b0c28853b0667d833ae94ada63a4e8c269a6b3c9;p=cql-java-moved-to-github.git README tweaks; added CQLGenerator script --- diff --git a/README b/README index 1cd2bd9..9fa8487 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -$Id: README,v 1.8 2002-11-01 23:45:28 mike Exp $ +$Id: README,v 1.9 2002-11-02 01:24:41 mike Exp $ cql-java -- a free CQL compiler for Java @@ -44,7 +44,7 @@ Library: // Parsing a CQL query CQLParser parser = new CQLParser(); CQLNode root = parser.parse("title=dinosaur"); - System.out.println(root.toXCQL(0)); + 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 @@ -96,6 +96,9 @@ All the other free CQL compilers everyone's going to write :-) TO DO ----- +* ### Fix bug where "9x" is parsed as two tokens, a NUMBER and a + WORD. (And why is "x9" OK?) + * Allow CQLGenerate test-harness to take some of its configuration parameters on the command-line as well as or instead of a file. diff --git a/bin/CQLGenerator b/bin/CQLGenerator new file mode 100755 index 0000000..97c2765 --- /dev/null +++ b/bin/CQLGenerator @@ -0,0 +1,6 @@ +#!/bin/sh + +# $Id: CQLGenerator,v 1.1 2002-11-02 01:24:41 mike Exp $ +# Trivial script to invoke the CQLGenerator test-harness + +java org.z3950.zing.cql.CQLGenerator ${@+"$@"}