BNFC-2.9.6.2: A compiler front-end generator.
Safe HaskellSafe-Inferred
LanguageHaskell2010

BNFC.Backend.Haskell

Synopsis

Documentation

makeHaskell :: SharedOptions -> CF -> Backend Source #

Entrypoint for the Haskell backend.

data AlexVersion Source #

Which version of Alex is targeted?

Constructors

Alex3 

Instances

Instances details
Bounded AlexVersion Source # 
Instance details

Defined in BNFC.Options

Enum AlexVersion Source # 
Instance details

Defined in BNFC.Options

Show AlexVersion Source # 
Instance details

Defined in BNFC.Options

Methods

showsPrec :: Int -> AlexVersion -> ShowS

show :: AlexVersion -> String

showList :: [AlexVersion] -> ShowS

Eq AlexVersion Source # 
Instance details

Defined in BNFC.Options

Methods

(==) :: AlexVersion -> AlexVersion -> Bool

(/=) :: AlexVersion -> AlexVersion -> Bool

Ord AlexVersion Source # 
Instance details

Defined in BNFC.Options

makefile Source #

Arguments

:: Options 
-> CF 
-> String

Filename of the makefile.

-> Doc

Content of the makefile.

Generate the makefile.

testfile :: Options -> CF -> String Source #