c.initializeFromContext( ac,
"test.bbq", "com.antlersoft.browsebyquery.il");
BufferedReader in=new BufferedReader( new InputStreamReader( System.in));
ILQueryParser parser = new ILQueryParser();
AnalyzerQuery env = new AnalyzerQuery(parser);
try
{
String line="1";
while ( line.length()>0)
{
try
{
System.out.println( ">");
line=in.readLine();
if ( line==null || line.length()==0)
break;
env.setLine(line);
SetExpression se=env.getExpression();
Enumeration<?> e=se.evaluate( c.getDataSource());
while ( e.hasMoreElements())
{
System.out.println( e.nextElement().toString());
}