-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/

-- | Happy is a parser generator for Haskell implemented using this library
--   
--   Happy is a parser generator for Haskell. Given a grammar specification
--   in BNF, Happy generates Haskell code to parse the grammar. Happy works
--   in a similar way to the yacc tool for C.
--   
--   This library provides the following functionality:
--   
--   
--   
- Data type definitions for the Grammar AST type, capturing the
--   information in .y-files (Happy.Grammar)
--   
- A parser for happy grammar files (.y) to produce a Grammar
--   (Happy.Frontend.*)
--   
- Implementations of the text book algorithms that compute the LR
--   action and goto tables for the given Grammar
--   (Happy.Tabular.*)
--   
- An LALR code generator to produce table-driven, deterministic
--   parsing code in Haskell (Happy.Backend.LALR.*)
--   
- A (less maintained) GLR code generator to produce table-driven,
--   non-deterministic parsing code in Haskell, where ambiguous parses
--   produce multiple parse trees (Happy.Backend.GLR.*)
--   
@package happy-lib
@version 2.1.7

module Happy.Backend.GLR
glrBackendDataDir :: IO String

module Happy.Backend.GLR.ProduceCode
produceGLRParser :: (String, String) -> String -> (ActionTable, GotoTable) -> String -> Maybe String -> Maybe String -> (DebugMode, Options) -> Grammar String -> Directives -> (String, String)
baseTemplate :: String -> String
libTemplate :: String -> String
data DecodeOption
TreeDecode :: DecodeOption
LabelDecode :: DecodeOption
data FilterOption
NoFiltering :: FilterOption
UseFiltering :: FilterOption
data GhcExts
NoGhcExts :: GhcExts
UseGhcExts :: String -> [String] -> GhcExts
type Options = (DecodeOption, FilterOption, GhcExts)
