The latest version of FormalGrammars is 0.4.0.0-0.

FormalGrammars

Version 0.0.0.2 revision 0 uploaded by ChristianHoener.

Package meta

Synopsis
(Context-free) grammars in formal language theory
Description

Context-free grammars in formal language theory are sets of production rules, non-terminal and terminal symbols. This library provides basic data types and functions to manipulate such grammars.

Grammars can be defined in a small domain-specific language that is very close to typical CFG notation.

In addition, TemplateHaskell and QuasiQuoting functionality allow embedding thusly defined grammars in Haskell programs. ADPfusion then turns such a grammar into an efficient dynamic program. It is also possible to generate Haskell modules that contain the resulting grammar, signature and algebra product.

Alternatives are ansi- or LaTeX-based pretty-printing for users that want to implement their CFG in another language than Haskell.

Formal background can be found in two papers: Christian Höner zu Siederdissen, Ivo L. Hofacker, and Peter F. Stadler Product Grammars for Alignment and Folding submitted and Christian Höner zu Siederdissen, Ivo L. Hofacker, and Peter F. Stadler How to Multiply Dynamic Programming Algorithms Brazilian Symposium on Bioinformatics (BSB 2013) Lecture Notes in Bioinformatics 8213, Springer, Heidelberg

Author
Christian Hoener zu Siederdissen, 2013
Bug reports
n/a
Category
Formal Languages, Bioinformatics
Copyright
Christian Hoener zu Siederdissen, 2013
Homepage
http://www.tbi.univie.ac.at/~choener/gramprod/
Maintainer
choener@tbi.univie.ac.at
Package URL
n/a
Stability
experimental

Components