HXQ-0.15.0: HXQ.cabal
Cabal-Version: >= 1.2
Name: HXQ
Version: 0.15.0
Synopsis: A Compiler from XQuery to Haskell
Description:
HXQ is a fast and space-efficient compiler from XQuery (the standard
query language for XML) to embedded Haskell code. The translation is
based on Haskell templates. It also provides an interpreter for
evaluating XQueries from input and an optional database connectivity
using HDBC with MySQL/ODBC or sqlite3.
Category: XML
Build-type: Simple
License-file: LICENSE
License: BSD3
Author: Leonidas Fegaras
Copyright: 2008, Leonidas Fegaras
Stability: experimental
Maintainer: fegaras@cse.uta.edu
Homepage: http://lambda.uta.edu/HXQ/
Extra-Source-Files:
src/noDB/Text/XML/HXQ/OptionalDB.hs
src/withDB/Text/XML/HXQ/DB.hs
src/withDB/Text/XML/HXQ/OptionalDB.hs
src/mysql/Connect.hs
src/sqlite/Connect.hs
Makefile
XQueryParser.y
Test1.hs
Test2.hs
Test2a.hs
TestDB.hs
TestDBa.hs
TestDB2.hs
TestDBLP1.hs
TestDBLP2.hs
compile
compile.bat
data-files:
index.html
db.html
hxq-manual.pdf
data/cs.xml
data/a.xml
data/c.xml
data/q1.xq
data/q2.xq
data/q3.xq
data/q4.xq
data/dblp.xq
data/dblp2.xq
data/test.xq
data/test-results.txt
data/testdb.xq
data/company.sql
src/hxml-0.2/00-LICENSE.txt
src/hxml-0.2/00-README.txt
Flag mysql
Description: provides database connectivity using HDBC and MySql through HDBC-odbc.
Default: False
Flag sqlite
Description: provides database connectivity using HDBC and HDBC-sqlite.
Default: False
Library
Exposed-Modules: Text.XML.HXQ.XQuery
Other-Modules: HXML, ETree, Misc, Tree, AssocList, PrintXML, XML, TreeBuild, DTD, XMLScanner, LLParsing, XMLParse,
Readline, Text.XML.HXQ.XTree,
Text.XML.HXQ.Functions, Text.XML.HXQ.Compiler, Text.XML.HXQ.Interpreter,
Text.XML.HXQ.Optimizer, Text.XML.HXQ.OptionalDB, Text.XML.HXQ.Parser
hs-source-dirs: . src src/hxml-0.2
Build-Depends: base, haskell98, array, regex-base, regex-compat, template-haskell
ghc-options: -funfolding-use-threshold=16
if impl(ghc < 6.10)
Build-Depends: readline
else
Build-Depends: editline
if flag(mysql)
Other-Modules: Text.XML.HXQ.DB, Connect
Build-Depends: HDBC, HDBC-odbc
hs-source-dirs: src/withDB, src/mysql
else {
if flag(sqlite)
Other-Modules: Text.XML.HXQ.DB, Connect
Build-Depends: HDBC, HDBC-sqlite3
hs-source-dirs: src/withDB, src/sqlite
else
hs-source-dirs: src/noDB
}
Executable xquery
Main-is: Main.hs
hs-source-dirs: . src src/hxml-0.2
if impl(ghc < 6.10)
Build-Depends: readline
else
Build-Depends: editline
if flag(mysql)
Build-Depends: HDBC, HDBC-odbc
hs-source-dirs: src/withDB, src/mysql
else {
if flag(sqlite)
Build-Depends: HDBC, HDBC-odbc
hs-source-dirs: src/withDB, src/sqlite
else
hs-source-dirs: src/noDB
}