Path to this page:
Subject: CVS commit: pkgsrc/devel/happy
From: Thomas Klausner
Date: 2025-01-10 00:03:38
Message id: 20250109230338.CEB68FC1D@cvs.NetBSD.org
Log Message:
devel/happy: update to happy-2.1.3
## 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.
Files: