GF, Grammatical Framework, is a programming language for multilingual grammar applications.
Grammatical Framework C Haskell HTML JavaScript Java Other
Clone or download
Latest commit d9bf3af Jul 19, 2018
Permalink
Failed to load latest commit information.
bin Final changes before the release of GF 3.9 Aug 11, 2017
css Remove oldstyle.css Jun 14, 2018
debian Final changes before the release of GF 3.9 Aug 11, 2017
demos Remove HTML files from VC which should be generated from txt2tags Jun 12, 2018
doc Remove HTML files from VC which should be generated from txt2tags Jun 12, 2018
download Clean up old download pages Jun 13, 2018
gf-book Remove HTML files from VC which should be generated from txt2tags Jun 12, 2018
lib Merge pull request #46 from odanoburu/construct Jul 17, 2018
split Don't need a separate version of WebSetup for split Jul 19, 2018
src Remove code which tries to get version information from darcs folder Jul 4, 2018
testsuite testsuite: fix test of generate_trees Dec 10, 2013
treebanks some more conversion patterns for Susanne Nov 18, 2015
.ghci GF.Infra.SIO: The SIO monad now supports putStr in addition to putStrLn Aug 31, 2015
.gitignore Add cabal sandbox files to .gitignore Nov 27, 2017
.travis.yml Add a Travis configuration for autotesting commits Sep 4, 2017
LICENSE more clear LICENSE file for GF Dec 21, 2010
Makefile Fix `make sdist` to use `git archive` instead of `darcs dist` Jul 4, 2018
README.md Rename README to README.md May 3, 2018
Setup.hs WebSetup: fail silently when example grammars don't build Jul 19, 2018
WebSetup.hs WebSetup: fail silently when example grammars don't build Jul 19, 2018
default.nix Fix the Nix build May 4, 2018
gf.cabal Relax dependency on `directory` package for Setup Jul 5, 2018
gf.nix Fix the Nix build May 4, 2018
index.html Homepage minors Jun 20, 2018

README.md

GF Logo

Grammatical Framework (GF)

Build Status

The Grammatical Framework is a grammar formalism based on type theory. It consists of:

  • a special-purpose programming language
  • a compiler of the language
  • a generic grammar processor

The compiler reads GF grammars from user-provided files, and the generic grammar processor performs various tasks with the grammars:

  • generation
  • parsing
  • translation
  • type checking
  • computation
  • paraphrasing
  • random generation
  • syntax editing

GF particularly addresses four aspects of grammars:

  • multilinguality (parallel grammars for different languages)
  • semantics (semantic conditions of well-formedness, semantic properties of expressions)
  • grammar engineering (modularity, abstractions, libraries)
  • embeddability in programs written in other languages (C, C++, Haskell, Java, JavaScript)

COMPILATION and INSTALLATION of source distribution: See download/index.html for installation instructions. More details can be found in doc/gf-developers.html.