name: happy-frontend version: 2.0 license: BSD2 license-file: LICENSE copyright: (c) Andy Gill, Simon Marlow author: Andy Gill and Simon Marlow maintainer: Simon Marlow bug-reports: https://github.com/haskell/happy/issues stability: stable homepage: https://www.haskell.org/happy/ category: Development cabal-version: >= 1.10 build-type: Simple synopsis: A yacc-like frontend for happy Description: Happy is a parser generator for Haskell. Happy-Frontend is responsible for parsing .y- and .ly-files and mangling them into a Grammar datatype. These .y- and .ly-files work similar to yacc's .y-files, but have some Haskell-specific features. tested-with: GHC == 9.8.1 GHC == 9.6.3 GHC == 9.4.8 GHC == 9.2.8 GHC == 9.0.2 GHC == 8.10.7 GHC == 8.8.4 GHC == 8.6.5 GHC == 8.4.4 GHC == 8.2.2 GHC == 8.0.2 GHC == 7.10.3 GHC == 7.8.4 GHC == 7.6.3 GHC == 7.4.2 GHC == 7.0.4 flag bootstrap description: Optimize the implementation of happy using a pre-built happy, and add support for attribute grammars. manual: True default: True library hs-source-dirs: src exposed-modules: Happy.Frontend, Happy.Frontend.AbsSyn, Happy.Frontend.Mangler, Happy.Frontend.PrettyGrammar build-depends: base < 5, array, containers >= 0.4.2, transformers >= 0.5.6.2, mtl >= 2.2.2, happy-codegen-common == 2.0, happy-grammar == 2.0 default-language: Haskell98 default-extensions: CPP, MagicHash, FlexibleContexts ghc-options: -Wall other-modules: Happy.Frontend.ParseMonad Happy.Frontend.ParseMonad.Class Happy.Frontend.Mangler.Monad Happy.Frontend.Parser Happy.Frontend.Lexer Happy.Frontend.ParamRules if flag(bootstrap) -- TODO put this back when Cabal can use it's qualified goals to better -- understand bootstrapping, see -- https://github.com/haskell/cabal/issues/7189 --build-tools: happy cpp-options: -DHAPPY_BOOTSTRAP other-modules: Happy.Frontend.ParseMonad.Bootstrapped Happy.Frontend.Parser.Bootstrapped Happy.Frontend.AttrGrammar Happy.Frontend.AttrGrammar.Parser Happy.Frontend.AttrGrammar.Mangler else other-modules: Happy.Frontend.ParseMonad.Oracle Happy.Frontend.Parser.Oracle