FormalGrammars-0.3.1.2: (Context-free) grammars in formal language theory

Safe HaskellNone
LanguageHaskell2010

FormalLanguage.CFG.PrettyPrint.Haskell

Description

A PrettyPrinter that generates "almost useable" Haskell modules. The signature and grammar are created but the algebras are (obviously) missing.

Synopsis

Documentation

grammarHaskell :: Grammar -> Doc Source #

Render grammar