Up to [cvs.NetBSD.org] / pkgsrc / devel / alex
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
recursive revbump after patching lang/ghc910
Bump all Haskell packages after switching the default compiler.
devel/alex: update to alex-3.5.2.0 ## Changes in 3.5.2.0 * Use `byteSwap16#` and `byteSwap32#` on big-endian architectures instead of handrolling the implementation ([PR #260](https://github.com/haskell/alex/pull/260)). * More descriptive error in `alexScan`; inline `alexScanUser` ([PR #262](https://github.com/haskell/alex/pull/262)). * Tested with GHC 8.0 - 9.12.1.
Recursive revbump after changing the default Haskell compiler
alex: update to 3.5.1.0. ## Changes in 3.5.1.0 * Drop generating output for GHC < 6.4. * Use qualified imports in generated code (except for `Prelude`) ([Issue #258](https://github.com/haskell/alex/issues/258)). * Suppress warnings `tabs` and `unused-imports` for generated code ([Issue #255](https://github.com/haskell/alex/issues/255)). * Tested with GHC 8.0 - 9.8.2. ## Changes in 3.5.0.0 * Add option `--numeric-version`. * Remove deprecated `-v` as alias for `--version`. * Add `-v` as placeholder for a future `--verbose` option. * Make `alex{G,S}etUserState` available with the `monadUserState-bytestring` wrapper ([Issue #220](https://github.com/haskell/alex/issues/220)). * Debugging lexer: print character in addition to its ASCII code ([PR #252](https://github.com/haskell/alex/pull/252)). * Tested with GHC 8.0 - 9.8.1.
libgnomeui: remove Gnome 2 support library, now unused in pkgsrc.
Revbump all Haskell after updating lang/ghc96
devel/alex: Update to 3.4.0.0 Changes in 3.4.0.0 [Andreas Abel, 2023-06-20] * New wrappers to lex strict Text: strict-text, posn-strict-text, monad-strict-text and monadUserState-strict-text (PR #240). These complement the existing wrappers for String and ByteString. * Tested with GHC 7.0 - 9.6.2. Changes in 3.3.0.0 [Andreas Abel, 2023-05-25] * Add an Ord instance to AlexPosn (Issue #233). This breaks developments that define their own (orphan) instance Ord AlexPosn. If this is the derived stock instance, the fix is to delete the orphan instance and require build-tool-depends: alex:alex >= 3.3.0.0. * Switch to Haskell PVP versioning with four digits. * Tested with GHC 7.0 - 9.6.1. Change in 3.2.7.4 [Andreas Abel, 2023-05-02] * The user-supplied "epilogue" Haskell code is now put last in the generated file. This enables use of Template Haskell in the epilogue. (Issue #125.) * Tested with GHC 7.0 - 9.6.1. Change in 3.2.7.3 [Andreas Abel, 2023-04-14] * Amend last change (3.2.7.2) so that Alex-generated code does not need LANGUAGE PatternGuards. * Tested with GHC 7.0 - 9.6.1. Change in 3.2.7.2 [Andreas Abel, 2023-04-03] * Fix bug with out-of-bound access to alex_check array. (Surfaced with GHC's JS backend, fixed by Sylvain Henry in PR #223.) * Tested with GHC 7.0 - 9.6.1.
Bump Haskell packages after updating lang/ghc94
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
revbump all the Haskell packages after modifying the runtime system of lang/ghc94
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
revbump after changing the default Haskell compiler
Update to alex-3.2.7.1 Change in 3.2.7.1 * Fix bug with repeated numeral characters outside of r{n,m} repetitions. This was a regression introduced in 3.2.7. Changes in 3.2.7 * Allow arbitrary repetitions in regexps. Previously, the r{n,m} and related forms were restricted to single digit numbers n and m. * DFA minimization used to crash on tokens of the form c* which produce automata with only accepting states. Considering the empty set of non-accepting states as an equivalence class caused minimization to crash with exception. * The small_base flag is removed. Extremely old GHCs will no longer build. * A number of bug fixes and clearer diagnostics.
Bump packages that depends on GHC
*: Bump PKGREVISION for ghc-9.0.1
Build and install the documentation
Update to alex-3.2.6 Changes in 3.2.6: Support for the GHC 9.2. The array access primops now use the fixed-sized numeric types corresponding to the width of the data accessed. Additionally, the primops to convert to and from fixed-sized numeric types have been given new names. 9.2 isn't cut yet, so these changes are somewhat speculative. Unfortunately, GHC must use a released version of Alex (and Happy) at all times until further changes have been made, so we must make the release to actually implement these changes in GHC. If the final GHC 9.2 ends up being different, this release will be marked broken to make it less likely people use it by accident.
Update to alex-3.2.5 Changes in 3.2.5: * Build fixes for GHC 8.8.x Changes in 3.2.4: * Remove dependency on QuickCheck * Change the way that bootstrapping is done: see README.md for build instructions Changes in 3.2.3: * fix issue when using cpphs (#116) Changes in 3.2.2: * Manage line length in generated files [GH-84] * Fix issue when identifier with multiple single quotes, e.g. foo'' was used * Allow omitting spaces around = in macro definitions * Include pre-generated Parser.hs and Scan.hs in the Hackage upload, to make bootstrapping easier. Changes in 3.2.1: * Fix build problem with GHC; add new test tokens_scan_user.x Changes in 3.2.0: * Allow the token type and productions to be overloaded, and add new directives: %token, %typeclass, %action. See "Type Signatures and Typeclasses" in the manual. * Some small space leak fixes
Update devel/alex to 3.1.7. Fix configure env wrap. Changes in 3.1.7: - Add support for %encoding directive (allows to control --latin1 from inside Alex scripts) - Make code forward-compatible with in-progress proposals - Suppress more warnings Changes in 3.1.6: - sdist for 3.1.5 was mis-generated, causing it to ask for Happy when building. Changes in 3.1.5: - Generate less warning-laden code, and suppress other warnings. - Bug fixes.
Bump PKGREVISION for hs-primitive-0.6.1.0 || hs-vector-0.11.0.0 || hs-mwc-random-0.13.3.2 || hs-vector-algorithms-0.7.0.1
Because this error: ERROR: hs-primitive>=0.5.4 is not installed; can't buildlink files. Bump PKGREVISION for hs-primitive-0.5.4.0
Import alex-3.1.4 from wip/alex Alex is a tool for generating lexical analysers in Haskell, given a description of the tokens to be recognised in the form of regular expressions. It is similar to the tools lex and flex for C/C++. Alex takes a description of tokens based on regular expressions and generates a Haskell module containing code for scanning text efficiently. Alex is designed to be familiar to exisiting lex users, although it does depart from lex in a number of ways.