packages feed

HXQ-0.18.0: HXQ.cabal

Cabal-Version:       >= 1.2
Name:                HXQ
Version:             0.18.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, 2009 Leonidas Fegaras
Stability:           experimental
Maintainer:          fegaras@cse.uta.edu
Homepage:            http://lambda.uta.edu/HXQ/
Extra-Source-Files:
  src/DeepSeq.hs
  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
  TestDBLP.hs
  TestXMark.hs
  compile
  compile.bat
data-files:
  index.html
  db.html
  release.html
  hxq-manual.pdf
  data/cs.xml
  data/department.xsd
  data/dblp.xsd
  data/a.xml
  data/c.xml
  data/q1.xq
  data/q2.xq
  data/q3.xq
  data/q4.xq
  data/q5.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, DeepSeq, ETree, Misc, Tree, AssocList, PrintXML, XML, TreeBuild, DTD, XMLScanner, LLParsing, XMLParse,
                       Text.XML.HXQ.XTree, Text.XML.HXQ.Types, Text.XML.HXQ.TypeInference,
                       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 >= 3 && < 5, haskell98, array, regex-base, regex-compat, template-haskell, mtl, haskeline, HTTP
  ghc-options:         -funfolding-use-threshold=16
  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 flag(mysql)
     Build-Depends:    HDBC, HDBC-odbc
     hs-source-dirs:   src/withDB, src/mysql
  else {
  if flag(sqlite)
     Build-Depends:    HDBC, HDBC-sqlite3
     hs-source-dirs:   src/withDB, src/sqlite
  else
     hs-source-dirs:   src/noDB
}