GF Logo

Grammatical Framework Download and Installation

GF 3.2.9 source-only snapshot was released on 12 September 2011.

What's new? Faster grammar compilation!

Binary packages

No binary packages were created for this release.

Installing from source

GF is on Hackage, so the prodedure is fairly simple:

  1. Install the Haskell Platform 2010.2.0.0 (July 2010) or newer.
  2. cabal update
  3. On Linux: install some C libraries from your Linux distribution (see below)
  4. cabal install gf

You can also download the full source package from here: gf-3.2.9.tar.gz.

Notes

The above steps installs GF for a single user and does not require root privileges. The executables are put in $HOME/.cabal/bin, so it is a good idea to put a line in your .bash_profile to add that directory to you path:

    PATH=$HOME/.cabal/bin:$PATH

GF uses haskeline, which depends some non-Haskell libraries that won't be installed automatically by cabal, so you need to install them manually. Here is one way to do this:

Installing from the latest developer code

The first time:

    darcs get --lazy http://www.grammaticalframework.org/ GF
    cd GF
    cabal install

Subsequently:

    cd GF
    darcs pull -a
    cabal install

The above notes for installing from source apply also in this case.

Older releases