| Copyright | Chua Hou 2021 |
|---|---|
| License | MIT |
| Maintainer | Chua Hou <human+github@chuahou.dev> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
CFGEq.CNF
Description
Compilation of CFGs from CFG to Chomsky normal form.
Documentation
CNF v t is the type of Chomsky normal form grammars with variables of
type v and terminals of type t.
Constructors
| CNF | |
Fields
| |
type CNFProduction v t = Either (v, v) t Source #