Happy is a parser generator for Haskell


Version on this page:1.19.12
LTS Haskell 22.30:
Stackage Nightly 2024-07-23:
Latest on Hackage:1.21.0@rev:1

See all snapshots happy appears in

BSD-2-Clause licensed by Andy Gill and Simon Marlow
Maintained by Simon Marlow
This version can be pinned in stack with:happy-1.19.12@sha256:acc67bfbf3af87892766781dd064c9447181ea81269a7a1e5fc9ace4a8fa4768,5691

Module documentation for 1.19.12

There are no documented modules for this package.

Depends on 4 packages(full list with versions):


Happy is a parser generator for Haskell 98 (and later).

Build Status

Happy is built using Cabal. First install GHC, then:

  $ cabal configure
  $ cabal build
  $ cabal install

Complete documentation can be found in the directory ‘doc’, in DocBook XML format. To format the documentation, the DocBook-Tools suite (see http://wiki.docbook.org/DocBookTools) provides all the bits & pieces you need. Alternatively, pre-formatted documentation is available from Happy’s homepage (URL above).

The directory ‘examples’ contains some example parsers that use Happy.

For information on copying and distributing this program, see the file LICENSE in this directory.

Bugs should be reported at: https://github.com/simonmar/happy/issues

Happy Parsing!