happy: Happy is a parser generator for Haskell

[ bsd2, development, program ] [ Propose Tags ]

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]

Flags

Automatic Flags
NameDescriptionDefault
small_base

Deprecated. Does nothing.

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.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, 1.19.6, 1.19.7, 1.19.8, 1.19.9, 1.19.10, 1.19.11, 1.19.12, 1.20.0, 1.20.1, 1.20.1.1, 1.21.0 (info)
Change log CHANGES
Dependencies array, base (<5), containers (>=0.4.2), mtl (>=2.2.1) [details]
License BSD-2-Clause
Copyright (c) Andy Gill, Simon Marlow
Author Andy Gill and Simon Marlow
Maintainer Simon Marlow <marlowsd@gmail.com>
Category Development
Home page https://www.haskell.org/happy/
Bug tracker https://github.com/simonmar/happy/issues
Source repo head: git clone https://github.com/simonmar/happy.git
Uploaded by SimonMarlow at 2017-10-12T07:46:54Z
Distributions Arch:1.20.1.1, Debian:1.19.12, Fedora:1.20.1.1, FreeBSD:1.19.5, LTSHaskell:1.20.1.1, NixOS:1.20.1.1, Stackage:1.20.1.1, openSUSE:1.20.1.1
Reverse Dependencies 1 direct, 0 indirect [details]
Executables happy
Downloads 191470 total (368 in the last 30 days)
Rating 1.25 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2017-10-12 [all 3 reports]

Readme for happy-1.19.8

[back to package description]

Happy

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!

Simon.