BNFC-2.9.3: A compiler front-end generator.
Safe HaskellNone
LanguageHaskell2010

BNFC.Backend.Haskell.CFtoAbstract

Synopsis

Documentation

cf2Abstract Source #

Arguments

:: SharedOptions 
-> String

Module name.

-> CF

Grammar.

-> Doc 

Create a Haskell module containing data type definitions for the abstract syntax.

definedRules :: Bool -> CF -> [Doc] Source #

Generate Haskell code for the defined constructors.