CQL::Parser 1.0
Sponsored Links
CQL::Parser 1.0 Ranking & Summary
File size:
0.019 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
859
Date added:
2007-06-20
Publisher:
Ed Summers, Brian Cassidy and Wilbert Hengst
CQL::Parser 1.0 description
CQL::Parser is a Perl module that compiles CQL strings into parse trees of Node subtypes.
SYNOPSIS
use CQL::Parser;
my $parser = CQL::Parser->new();
my $root = $parser->parse( $cql );
CQL::Parser provides a mechanism to parse Common Query Language (CQL) statements. The best description of CQL comes from the CQL homepage at the Library of Congress http://www.loc.gov/z3950/agency/zing/cql/
CQL is a formal language for representing queries to information retrieval systems such as web indexes, bibliographic catalogs and museum collection information. The CQL design objective is that queries be human readable and human writable, and that the language be intuitive while maintaining the expressiveness of more complex languages.
A CQL statement can be as simple as a single keyword, or as complicated as a set of compoenents indicating search indexes, relations, relational modifiers, proximity clauses and boolean logic. CQL::Parser will parse CQL statements and return the root node for a tree of nodes which describes the CQL statement. This data structure can then be used by a client application to analyze the statement, and possibly turn it into a query for a local repository.
Each CQL component in the tree inherits from CQL::Node and can be one of the following: CQL::AndNode, CQL::NotNode, CQL::OrNode, CQL::ProxNode, CQL::TermNode, CQL::PrefixNode. See the documentation for those modules for their respective APIs.
Here are some examples of CQL statements:
george
dc.creator=george
dc.creator="George Clinton"
clinton and funk
clinton and parliament and funk
(clinton or bootsy) and funk
dc.creator="clinton" and dc.date="1976"
SYNOPSIS
use CQL::Parser;
my $parser = CQL::Parser->new();
my $root = $parser->parse( $cql );
CQL::Parser provides a mechanism to parse Common Query Language (CQL) statements. The best description of CQL comes from the CQL homepage at the Library of Congress http://www.loc.gov/z3950/agency/zing/cql/
CQL is a formal language for representing queries to information retrieval systems such as web indexes, bibliographic catalogs and museum collection information. The CQL design objective is that queries be human readable and human writable, and that the language be intuitive while maintaining the expressiveness of more complex languages.
A CQL statement can be as simple as a single keyword, or as complicated as a set of compoenents indicating search indexes, relations, relational modifiers, proximity clauses and boolean logic. CQL::Parser will parse CQL statements and return the root node for a tree of nodes which describes the CQL statement. This data structure can then be used by a client application to analyze the statement, and possibly turn it into a query for a local repository.
Each CQL component in the tree inherits from CQL::Node and can be one of the following: CQL::AndNode, CQL::NotNode, CQL::OrNode, CQL::ProxNode, CQL::TermNode, CQL::PrefixNode. See the documentation for those modules for their respective APIs.
Here are some examples of CQL statements:
george
dc.creator=george
dc.creator="George Clinton"
clinton and funk
clinton and parliament and funk
(clinton or bootsy) and funk
dc.creator="clinton" and dc.date="1976"
CQL::Parser 1.0 Screenshot
CQL::Parser 1.0 Keywords
CQL
Parser 1.0
Perl module
parse trees
parse
node
Clinton
subtypes
trees
strings
CQL::Parser
CQLParser
CQL::Parser 1.0
Libraries
Programming
Bookmark CQL::Parser 1.0
CQL::Parser 1.0 Copyright
WareSeeker periodically updates pricing and software information of CQL::Parser 1.0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of CQL::Parser 1.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
iCal::Parser is a Perl module to parse iCalendar files into a data structure. Free Download
SVG::Parser is a Perl module with XML Parser for SVG documents. Free Download
iCal::Parser::HTML is a Perl module to generate HTML calendars from iCalendars. Free Download
Shell::Parser is a simple shell script parser. Free Download
Test::Parser is a collection of parsers for different test output file formats. Free Download
Parsifal XML Parser is a validating XML 1.0 parser written in ANSI C. Free Download
Parse::Nibbler is Perl module to parse huge files using grammars written in pure perl. Free Download
XML::Parser is a perl module for parsing XML documents. Free Download
Latest Software
Popular Software
Favourite Software