packages feed

HXQ-0.9.0: HXQ.cabal

Cabal-Version:       >= 1.2
Name:                HXQ
Version:             0.9.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 and 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/DBConnect.hs
  src/withDB/Text/XML/HXQ/OptionalDB.hs
  src/readline/System/Console/Readline.hs
  Makefile
  XQueryParser.y
  Test1.hs
  Test2.hs
  TestDB.hs
  TestDB2.hs
  compile
  compile.bat
data-files:
  index.html
  data/cs.xml
  data/a.xml
  data/c.xml
  data/q1.xq
  data/q2.xq
  data/q3.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 db
  Description: provides database connectivity using HDBC and HDBC-sqlite3.
  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(db)
     Other-Modules:    Text.XML.HXQ.DB, Text.XML.HXQ.DBConnect
     Build-Depends:    HDBC < 1.1.5, HDBC-sqlite3
     hs-source-dirs:   src/withDB
  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(db)
     Build-Depends:    HDBC < 1.1.5, HDBC-sqlite3
     hs-source-dirs:   src/withDB
  else
     hs-source-dirs:   src/noDB