BNFC.Backend.Haskell.CFtoAbstract
cf2Abstract Source #
Arguments
Use ByteString or Text instead of String?
ByteString
Text
String
Derive Data, Generic, Typeable@?
Data
,
Make the tree a functor?
Module name.
Grammar.
Create a Haskell module containing data type definitions for the abstract syntax.
definedRules :: Bool -> CF -> [Doc] Source #
Generate Haskell code for the defined constructors.
define