Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

Package Usage: hackage: GrammarProducts

generalized Algebraic Dynamic Programming An algebra of linear and context-free grammars. This library provides the implementation of our theory of algebraic operations over linear and context-free grammars. Using algebraic operations, it is possible to construct complex dynamic programming algorithms from simpler "atomic" grammars. Our most important contribution is the definition of a product of grammars which naturally leads to alignment-like algorithms on multiple tapes. An efficient implementation of the resulting grammars is possible via the ADPfusion framework. The FormalGrammars library provides the required "Template Haskell" machinery. GramarProducts can be integrated as a plugin into the existing transformation from DSL to ADPfusion. Haskell users can just use the QQ function provided in the .QQ module. Alternatively, the resulting grammars can also be pretty-printed in various ways (ANSI, Haskell module with signature and grammar). The formal background can be found in two papers given in the README. The gADP homepage has further details, tutorials, examples.
9 versions
Latest release: over 4 years ago
7,220 downloads total

View more package details: https://packages.ecosyste.ms/registries/hackage.haskell.org/packages/GrammarProducts

View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/choener%2FGrammarProducts

Dependent Repos 1

choener/WordAlignment
  • ==0.1.1.* WordAlignment.cabal

Size: 247 KB - Last synced: 3 days ago - Pushed: about 7 years ago