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]
Versions 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 (info)
Change log CHANGES
Dependencies array, base (>=4.6 && <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>
Revised Revision 3 made by HerbertValerioRiedel at Sat Sep 22 13:16:23 UTC 2018
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 Sun Feb 4 16:19:37 UTC 2018
Distributions Arch:1.19.9, Debian:1.19.5, Fedora:1.19.9, FreeBSD:1.19.5, LTSHaskell:1.19.9, NixOS:1.19.9, Stackage:1.19.9, openSUSE:1.19.9
Executables happy
Downloads 133145 total (349 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-02-04 [all 2 reports]
Hackage Matrix CI

Flags

NameDescriptionDefaultType
small_base

Deprecated. Does nothing.

EnabledAutomatic

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

For package maintainers and hackage trustees


Readme for happy-1.19.9

[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.