HXQ-0.10.0: HXQ.cabal
Cabal-Version: >= 1.2
Name: HXQ
Version: 0.10.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
src/readline/System/Console/Readline.hs
Makefile
XQueryParser.y
Test1.hs
Test2.hs
TestDB.hs
TestDB2.hs
TestDBPL1.hs
TestDBPL2.hs
compile
compile.bat
data-files:
index.html
db.html
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 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: Text.XML.HXQ.XTree, Text.XML.HXQ.Functions, Text.XML.HXQ.Compiler,
Text.XML.HXQ.Interpreter, Text.XML.HXQ.Parser, Text.XML.HXQ.Optimizer,
Text.XML.HXQ.OptionalDB, HXML, DTD, LLParsing, TreeBuild, XMLParse,
ETree, Misc, Tree, XMLScanner, AssocList, PrintXML, XML
hs-source-dirs: . src src/hxml-0.2
Build-Depends: base, haskell98, array, template-haskell, mtl
if os(windows)
hs-source-dirs: src/readline
Other-Modules: System.Console.Readline
else
Build-Depends: readline
if flag(mysql)
Other-Modules: Text.XML.HXQ.DB, Connect
Build-Depends: HDBC < 1.1.5, HDBC-odbc
hs-source-dirs: src/withDB, src/mysql
else {
if flag(sqlite)
Other-Modules: Text.XML.HXQ.DB, Connect
Build-Depends: HDBC < 1.1.5, 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
Build-Depends: base, haskell98, array, template-haskell, mtl
if os(windows)
hs-source-dirs: src/readline
Other-Modules: System.Console.Readline
else
Build-Depends: readline
if flag(mysql)
Build-Depends: HDBC < 1.1.5, HDBC-odbc
hs-source-dirs: src/withDB, src/mysql
else {
if flag(sqlite)
Build-Depends: HDBC < 1.1.5, HDBC-odbc
hs-source-dirs: src/withDB, src/sqlite
else
hs-source-dirs: src/noDB
}