The happy package

[Tags: bsd3, program]

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.

[Skip to ReadMe]


Versions1.16, 1.17, 1.18, 1.18.1, 1.18.2, 1.18.4, 1.18.5, 1.18.6, 1.18.7, 1.18.8, 1.18.9, 1.18.10, 1.18.11, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5 (info)
Change logCHANGES
Dependenciesarray, base (>=4.5 && <4.8), containers, mtl (>=1.0) [details]
Copyright(c) Andy Gill, Simon Marlow
AuthorAndy Gill and Simon Marlow
MaintainerSimon Marlow <>
Home page
Bug tracker
Source repositoryhead: git clone
UploadedMon Nov 11 13:15:59 UTC 2013 by SimonMarlow
UpdatedTue Jan 6 21:56:40 UTC 2015 by HerbertValerioRiedel to revision 2
DistributionsDebian:1.19.5, Fedora:1.19.4, FreeBSD:1.19.5, LTSHaskell:1.19.5, NixOS:1.19.5, Stackage:1.19.5
Downloads84055 total (111 in last 30 days)
0 []
StatusDocs not available [build log]
Last success reported on 2015-05-30 [all 6 reports]


small_baseChoose the new smaller, split-up base package.EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees

Readme for happy-1.19.1

This is Happy version 1.18, a parser generator for Haskell 98.

Happy is built using Cabal.  First install GHC, then:
  $ runhaskell Setup.lhs configure
  $ runhaskell Setup.lhs build
  $ runhaskell Setup.lhs install

Complete documentation can be found in the directory 'doc', in
DocBook XML format.  To format the documentation, the DocBook-Tools
suite (see http://www.
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.

Bug reports should be sent to

Happy Parsing!