From b0c28853b0667d833ae94ada63a4e8c269a6b3c9 Mon Sep 17 00:00:00 2001 From: mike Date: Sat, 2 Nov 2002 01:24:41 +0000 Subject: [PATCH] README tweaks; added CQLGenerator script --- README | 7 +++++-- bin/CQLGenerator | 6 ++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 bin/CQLGenerator 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 ${@+"$@"} -- 1.7.10.4