BNFC3-3.0: A compiler front-end generator.
Safe HaskellNone
LanguageHaskell2010

BNFC.Backend.CommonInterface.Backend

Synopsis

Documentation

class Backend (target :: TargetLanguage) where Source #

Backend typeclass.

Associated Types

type BackendOptions target Source #

type BackendState target Source #

Instances

Instances details
Backend 'TargetAgda Source # 
Instance details

Defined in BNFC.Backend.Agda

Backend 'TargetC Source # 
Instance details

Defined in BNFC.Backend.C

Backend 'TargetCpp Source # 
Instance details

Defined in BNFC.Backend.CPP

Backend 'TargetHaskell Source # 
Instance details

Defined in BNFC.Backend.Haskell

Backend 'TargetLatex Source # 
Instance details

Defined in BNFC.Backend.Latex

Backend 'TargetJava Source # 
Instance details

Defined in BNFC.Backend.Java

Backend 'TargetOCaml Source # 
Instance details

Defined in BNFC.Backend.OCaml

Backend 'TargetTxt2Tags Source # 
Instance details

Defined in BNFC.Backend.Txt2Tags

runBackend :: forall target. Backend target => GlobalOptions -> BackendOptions target -> LBNF -> Except String Result Source #