Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: happy | Distribution: openSUSE Tumbleweed |
Version: 2.1.6 | Vendor: openSUSE |
Release: 1.1 | Build date: Thu Jul 17 11:15:57 2025 |
Group: Unspecified | Build host: reproducible |
Size: 2199905 | Source RPM: happy-2.1.6-1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://hackage.haskell.org/package/happy | |
Summary: Happy is a 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.
BSD-2-Clause
* Thu Jul 17 2025 Peter Simons <psimons@suse.com> - Update happy to version 2.1.6. [#]# 2.1.6 * No longer emit `{-# LANGUAGE PartialTypeSignatures #-}` twice ([#339](https://github.com/haskell/happy/issues/339)). * No longer emit `import Data.Function` twice ([#341](https://github.com/haskell/happy/issues/341)). * Tested with GHC 8.0 - 9.12.2. The Haskell code generated by Happy is for GHC 8.0 and up. [#]# 2.1.5 Add `Data.Tuple` to `Happy_Prelude` in order to fix the `--debug` build (#330). [#]# 2.1.4 Move `Paths_happy_lib` into `tabular` to prevent a Cabal bug concerning - -libsubdir (#328). It is likely that this release fixes `cabal v1-install happy` as well, which was broken since happy-2.0 (#315). [#]# 2.1.3 Auto-resolve shift/reduce conflicts involving the catch token. This was to support on going work in GHC to utilise the catch token. [#]# 2.1.2 Fix a breaking change (#325) introduced by the previous fix for #131. Prelude is no longer used by Happy. [#]# 2.1.1 This release fixes two breaking changes: * Properly qualify all uses of Prelude functions, fixing #131 * Bring back the old `%errorhandlertype` directive, the use of which is discouraged in favour of the "Reporting expected tokens" mechanism in Happy 2.1, accesible via `%error.expected`. [#]# 2.1 * Added `--numeric-version` CLI flag. * Documented and implemented the new feature "Resumptive parsing with ``catch``" * Documented (and reimplemented) the "Reporting expected tokens" feature (which turned to cause a breaking change in this release: #320) [#]# 2.0.2 The 2.0.1 release in turn exposed two more regressions: * Generated code uses PatternGuards without declaring it (#309) * Use of `happy-lib:*` syntax to depend on private library components triggered a bug in Cabal versions 3.0 and 3.2 (#311) This release fixes both. [#]# 2.0.1 The 2.0 release changed the indentation character from tabs to two spaces, triggering an unforced breaking change in GHC (#303). This release provides the fix by using eight spaces for indentation. [#]# 2.0 There are two main breaking changes in this release: 1. Removed non-array, non-GHC modes, so flags `-ag` are the default now and become no-ops. 2. Generated parsers now activate the language extension `-XNoStrictData` without which every use of a happy parser would lead to an immediate crash (#273). This causes us to drop support for GHC < 8.0. Furthermore, the project structure was modularized and a library `happy-lib` containing the implmentation of the `happy` executable was extracted. Quite similar to the situation with GHC vs. the GHC API, we expect that `happy` will continue to be a stable CLI tool with solid (if occasionally out of date) documentation, while the design, documentation and implementation of `happy-lib` is still in flux and use is only recommended to expert users. Other, more minor changes: * Revert the new bootstrapping system of 1.21.0 to mitigate build issues (#255, #274). * Encode action table offsets in 32 bit instead of 16 bit (#93, #199, #266). This increases the size of generated parsers a bit (about 250KB for GHC's parser), but also manages to generate parsers for grammars that were previously running into the size limit (#199). * The documentation has been converted to ReStructuredText, hosted at https://haskell-happy.readthedocs.io/en/latest/ (#226) * A few internal refactorings to the structure of generated code. [#]# 1.21.0 The main focus of this release was revamping the build system and bootstrapping. * The release no longer contains generated source code. Instead of simply requiring a pre-built bootstrap version of Happy in that event, we have a parser-combination-based implementation of enough of Happy to bootstrap the rest. (Currently, the bootstrap version is everything but attribute grammars, and thus sufficient for e.g. GHC, but this is subject to change.) The bootstrap version of Happy is then sufficient to build Happy once again with all features enabled. Note, this means users of attribute grammars will have to modify the way they build happy if they were previously building from Hackage relying on the pre-generated sources. * Rather than creating many "templates" at build time, there is a single combined template. Different implementations are chosen using CPP, as was already done within the templates before. * Some imports were tightened down, which may help building with newer versions of `base`. * Wed Oct 04 2023 Peter Simons <psimons@suse.com> - Drop obsolete code to remove +x permission from data files. * Thu Mar 30 2023 Peter Simons <psimons@suse.com> - Updated spec file to conform with ghc-rpm-macros-2.5.2. * Tue Feb 07 2023 Peter Simons <psimons@suse.com> - Update happy to version 1.20.1.1. Upstream has not updated the file "ChangeLog.md" since the last release. * Mon Feb 06 2023 Peter Simons <psimons@suse.com> - Update happy to version 1.20.1 revision 1. Upstream has renamed and modified the change log file(s) in this release. Unfortunately, the automatic updater cannot reliable determine relevant entries for this release. * Sun May 08 2022 Peter Simons <psimons@suse.com> - Update happy to version 1.20.0 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Thu Feb 10 2022 psimons@suse.com - Downgrade to version 1.20.0. Upstream has retracted release 1.21.0 on Hackage. * Mon Nov 01 2021 psimons@suse.com - Update happy to version 1.21.0. Upstream has renamed and modified the change log file(s) in this release. Unfortunately, the automatic updater cannot reliable determine relevant entries for this release. * Thu Dec 17 2020 Ondřej Súkup <mimi.vx@gmail.com> - disable %{ix86} build * Wed Aug 26 2020 psimons@suse.com - Update happy to version 1.20.0. Upstream has edited the change log file since the last release in a non-trivial way, i.e. they did more than just add a new entry at the top. You can review the file at: http://hackage.haskell.org/package/happy-1.20.0/src/CHANGES
/usr/bin/happy /usr/share/doc/packages/happy /usr/share/doc/packages/happy/ChangeLog.md /usr/share/doc/packages/happy/README.md /usr/share/doc/packages/happy/examples /usr/share/doc/packages/happy/examples/Calc.ly /usr/share/doc/packages/happy/examples/DavesExample.ly /usr/share/doc/packages/happy/examples/ErlParser.ly /usr/share/doc/packages/happy/examples/ErrorTest.ly /usr/share/doc/packages/happy/examples/LexerTest.ly /usr/share/doc/packages/happy/examples/MonadTest.ly /usr/share/doc/packages/happy/examples/PgnParser.ly /usr/share/doc/packages/happy/examples/README /usr/share/doc/packages/happy/examples/SimonsExample.ly /usr/share/doc/packages/happy/examples/glr /usr/share/doc/packages/happy/examples/glr/Makefile /usr/share/doc/packages/happy/examples/glr/Makefile.defs /usr/share/doc/packages/happy/examples/glr/bio-eg /usr/share/doc/packages/happy/examples/glr/bio-eg/1-1200.dna /usr/share/doc/packages/happy/examples/glr/bio-eg/1-600.dna /usr/share/doc/packages/happy/examples/glr/bio-eg/Bio.y /usr/share/doc/packages/happy/examples/glr/bio-eg/Main.lhs /usr/share/doc/packages/happy/examples/glr/bio-eg/Makefile /usr/share/doc/packages/happy/examples/glr/bio-eg/README /usr/share/doc/packages/happy/examples/glr/common /usr/share/doc/packages/happy/examples/glr/common/DV_lhs /usr/share/doc/packages/happy/examples/glr/common/DaVinciTypes.hs /usr/share/doc/packages/happy/examples/glr/expr-eval /usr/share/doc/packages/happy/examples/glr/expr-eval/Expr.y /usr/share/doc/packages/happy/examples/glr/expr-eval/Hugs.lhs /usr/share/doc/packages/happy/examples/glr/expr-eval/Main.lhs /usr/share/doc/packages/happy/examples/glr/expr-eval/Makefile /usr/share/doc/packages/happy/examples/glr/expr-eval/README /usr/share/doc/packages/happy/examples/glr/expr-monad /usr/share/doc/packages/happy/examples/glr/expr-monad/Expr.y /usr/share/doc/packages/happy/examples/glr/expr-monad/Hugs.lhs /usr/share/doc/packages/happy/examples/glr/expr-monad/Main.lhs /usr/share/doc/packages/happy/examples/glr/expr-monad/Makefile /usr/share/doc/packages/happy/examples/glr/expr-monad/README /usr/share/doc/packages/happy/examples/glr/expr-tree /usr/share/doc/packages/happy/examples/glr/expr-tree/Expr.y /usr/share/doc/packages/happy/examples/glr/expr-tree/Hugs.lhs /usr/share/doc/packages/happy/examples/glr/expr-tree/Main.lhs /usr/share/doc/packages/happy/examples/glr/expr-tree/Makefile /usr/share/doc/packages/happy/examples/glr/expr-tree/README /usr/share/doc/packages/happy/examples/glr/expr-tree/Tree.lhs /usr/share/doc/packages/happy/examples/glr/hidden-leftrec /usr/share/doc/packages/happy/examples/glr/hidden-leftrec/Expr.y /usr/share/doc/packages/happy/examples/glr/hidden-leftrec/Hugs.lhs /usr/share/doc/packages/happy/examples/glr/hidden-leftrec/Main.lhs /usr/share/doc/packages/happy/examples/glr/hidden-leftrec/Makefile /usr/share/doc/packages/happy/examples/glr/hidden-leftrec/README /usr/share/doc/packages/happy/examples/glr/highly-ambiguous /usr/share/doc/packages/happy/examples/glr/highly-ambiguous/Expr.y /usr/share/doc/packages/happy/examples/glr/highly-ambiguous/Hugs.lhs /usr/share/doc/packages/happy/examples/glr/highly-ambiguous/Main.lhs /usr/share/doc/packages/happy/examples/glr/highly-ambiguous/Makefile /usr/share/doc/packages/happy/examples/glr/highly-ambiguous/README /usr/share/doc/packages/happy/examples/glr/nlp /usr/share/doc/packages/happy/examples/glr/nlp/English.y /usr/share/doc/packages/happy/examples/glr/nlp/Hugs.lhs /usr/share/doc/packages/happy/examples/glr/nlp/Main.lhs /usr/share/doc/packages/happy/examples/glr/nlp/Makefile /usr/share/doc/packages/happy/examples/glr/nlp/README /usr/share/doc/packages/happy/examples/glr/packing /usr/share/doc/packages/happy/examples/glr/packing/Expr.y /usr/share/doc/packages/happy/examples/glr/packing/Hugs.lhs /usr/share/doc/packages/happy/examples/glr/packing/Main.lhs /usr/share/doc/packages/happy/examples/glr/packing/Makefile /usr/share/doc/packages/happy/examples/glr/packing/README /usr/share/doc/packages/happy/examples/igloo /usr/share/doc/packages/happy/examples/igloo/Foo.hs /usr/share/doc/packages/happy/examples/igloo/Lexer.x /usr/share/doc/packages/happy/examples/igloo/Makefile /usr/share/doc/packages/happy/examples/igloo/Parser.y /usr/share/doc/packages/happy/examples/igloo/ParserM.hs /usr/share/doc/packages/happy/examples/igloo/README /usr/share/licenses/happy /usr/share/licenses/happy/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Aug 21 22:32:34 2025