devel/happy-lib - The NetBSD Packages Collection

Library for the happy parser generator for Haskell

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.

This library provides the following functionality:

* Data type definitions for the Grammar AST type, capturing the
  information in .y-files
* A parser for happy grammar files (.y) to produce a Grammar
* Implementations of the text book algorithms that compute the LR
  action and goto tables for the given Grammar
* An LALR code generator to produce table-driven, deterministic
  parsing code in Haskell
* A (less maintained) GLR code generator to produce
  table-driven, non-deterministic parsing code in Haskell, where
  ambiguous parses produce multiple parse trees

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ghc98 lang/ghc98

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.