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

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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 (>=1.0) [details]
License BSD-3-Clause
Copyright (c) Andy Gill, Simon Marlow
Author Andy Gill and Simon Marlow
Maintainer Simon Marlow <marlowsd@gmail.com>
Revised Revision 2 made by HerbertValerioRiedel at 2017-04-26T15:42:00Z
Category Development
Home page http://www.haskell.org/happy/
Bug tracker https://github.com/simonmar/happy/issues
Source repo head: git clone http://github.com/simonmar/happy.git
Uploaded by SimonMarlow at 2015-01-06T21:07:08Z
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 2016-12-12 [all 8 reports]

Readme for happy-1.19.5

[back to package description]
This is Happy version 1.18, a parser generator for Haskell 98.

   http://www.haskell.org/happy/
   http://hackage.haskell.org/cgi-bin/hackage-scripts/package/happy

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://sourceware.cygnus.com/docbook-tools/)
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 marlowsd@gmail.com

Happy Parsing!

Simon.