Copyright | Chua Hou 2021 |
---|---|
License | MIT |
Maintainer | Chua Hou <human+github@chuahou.dev> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
.
CNF | |
|
type CNFProduction v t = Either (v, v) t Source #