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

BNFC.Backend.Haskell.CFtoHappy

Synopsis

Documentation

cf2Happy Source #

Arguments

:: ModuleName

This module's name.

-> ModuleName

Abstract syntax module name.

-> ModuleName

Lexer module name.

-> HappyMode

Happy mode.

-> TokenText

Use ByteString or Text?

-> Bool

AST is a functor?

-> CF

Grammar.

-> String

Generated code.

Generate a happy parser file from a grammar.