HaExcel

Home

Motivation for HaExcel

Refact Spreadsheet

Download


Download

A svn repository is available to download the source code. This code was tested under the GHC compiler, version 6.8.2, but should work with 6.8.*. Just type "svn co http://haskell.di.uminho.pt/websvn/HaExcel/ FOLDER_TO_STORE_CO" in a command line to perform a check out or use any svn GUI tool with the server. More about svn can be found in its web page.

In the repository it is possible to download a tarball package with the current version: just click on the 'Tarball' link.

Usage

After a check out or a tarball download enter the directory with the project and choose what to do:
Use the libraries
To use the libraries you can type 'make ghci' and the GHC will load all the libraries available.

Another way is to use the Cabal platform. Please, see the description bellow.

Create the batch tool
The are two options to compile the batch tool:

Using 'make ghc': Typing 'make ghc' will force the GHC compiler to produce an executable, HaExcel, which allows the mapping between spreadsheets and databases.

Using Cabal: The other option is to use the Cabal tool. Just type the following steps:

runhaskell Setup.hs configure
runhaskell Setup.hs build
runhaskell Setup.hs install

This will register the libraries in GHC which can then be imported. Additionally it creates the command line tool HaExcel located at dist/build/HaExcel/. Its usage is "HaExcel -s or -q spreadsheet_in_file sql_or_ss_out_file".

Create the web-based tool
One can also build a web-based tool typing 'make ghcWeb' (its construction using Cabal will be available soon). It will produce a CGI program, HaExcelWeb. Just put it in your CGI web server folder and try it using your browser.

Note that this libraries are still under development and can contain errors or bugs. If you encounter any problem, please report it to me.


Jácome Cunha
Last update: October, 2008

Valid CSS! Valid XHTML 1.0 Transitional