Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 2.1.2 Fix a breaking change (TritonDataCenter#325) introduced by the previous fix for TritonDataCenter#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 TritonDataCenter#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: TritonDataCenter#320) ## 2.0.2 The 2.0.1 release in turn exposed two more regressions: * Generated code uses PatternGuards without declaring it (TritonDataCenter#309) * Use of `happy-lib:*` syntax to depend on private library components triggered a bug in Cabal versions 3.0 and 3.2 (TritonDataCenter#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 (TritonDataCenter#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 (TritonDataCenter#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 (TritonDataCenter#255, TritonDataCenter#274). * Encode action table offsets in 32 bit instead of 16 bit (TritonDataCenter#93, TritonDataCenter#199, TritonDataCenter#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 (TritonDataCenter#199). * The documentation has been converted to ReStructuredText, hosted at https://haskell-happy.readthedocs.io/en/latest/ (TritonDataCenter#226) * A few internal refactorings to the structure of generated code.
- Loading branch information