| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: alex | Distribution: openSUSE Tumbleweed |
| Version: 3.5.4.0 | Vendor: openSUSE |
| Release: 1.1 | Build date: Mon Aug 4 22:57:36 2025 |
| Group: Unspecified | Build host: reproducible |
| Size: 18509973 | Source RPM: alex-3.5.4.0-1.1.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://hackage.haskell.org/package/alex | |
| Summary: Alex is a tool for generating lexical analysers in Haskell | |
Alex is a tool for generating lexical analysers in Haskell. It takes a description of tokens based on regular expressions and generates a Haskell module containing code for scanning text efficiently. It is similar to the tool lex or flex for C/C++.
BSD-3-Clause
* Mon Aug 04 2025 Andreas Schwab <schwab@suse.de>
- Don't need to define $alex_datadir, fixed in Cabal instead
* Sun Aug 03 2025 Peter Simons <psimons@suse.com>
- Update alex to version 3.5.4.0.
[#]# Changes in 3.5.4.0
* Fix [issue #277](https://github.com/haskell/alex/issues/277):
compatibility of generated code with `{-# LANGUAGE ImpredicativeTypes #-}`,
thanks Nadia Yvette Chambers!
* Simplify `cabal install` ([PR #272](https://github.com/haskell/alex/pull/272)),
thanks Antoine Leblanc!
* Document `examples/words.x`, thanks Piotr Justyna!
* Tested with GHC 8.0 - 9.12.2.
_Andreas Abel, 2025-08-03_
* Mon Jul 28 2025 Peter Simons <psimons@suse.com>
- Define $alex_datadir to fix the test suite.
* Sun Apr 06 2025 Peter Simons <psimons@suse.com>
- Update alex to version 3.5.3.0.
[#]# Changes in 3.5.3.0
* Fix critical bug in automaton minimizer
([PR #270](https://github.com/haskell/alex/pull/270)),
thanks Antoine Leblanc!
* Tested with GHC 8.0 - 9.12.2.
_Andreas Abel, 2025-04-06_
* Mon Dec 30 2024 Peter Simons <psimons@suse.com>
- Update alex to version 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.
_Andreas Abel, 2024-12-30_
* Thu Feb 29 2024 Peter Simons <psimons@suse.com>
- Update alex to version 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.
_Andreas Abel, 2024-02-29_
* Sat Dec 30 2023 Peter Simons <psimons@suse.com>
- Update alex to version 3.5.0.0.
[#]# 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.
_Andreas Abel, 2023-12-30_
* Sun Oct 29 2023 Peter Simons <psimons@suse.com>
- Update alex to version 3.4.0.1.
[#]# Changes in 3.4.0.1
* Address new `x-partial` warning of GHC 9.8.
* Alex 3.4.0.1 needs GHC 8.0 or higher to build.
The code it generates is the same as 3.4.0.0, so it will likely work for older GHCs.
* Tested with GHC 8.0 - 9.8.1.
_Andreas Abel, 2023-10-29_
[#]# Changes in 3.4.0.0
* New wrappers to lex strict `Text`:
`strict-text`, `posn-strict-text`, `monad-strict-text` and `monadUserState-strict-text`
(PR [#240](https://github.com/haskell/alex/pull/240)).
These complement the existing wrappers for `String` and `ByteString`.
* Tested with GHC 7.0 - 9.6.2.
_Andreas Abel, 2023-06-20_
[#]# Changes in 3.3.0.0
* Add an `Ord` instance to `AlexPosn` (Issue [#233](https://github.com/haskell/alex/issues/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.
_Andreas Abel, 2023-05-25_
* Wed Aug 02 2023 Andreas Schwab <schwab@suse.de>
- Drop constraints for riscv64
* Tue May 02 2023 Peter Simons <psimons@suse.com>
- Update alex to version 3.2.7.4.
[#]# Change in 3.2.7.4
* 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](https://github.com/haskell/alex/issues/125).)
* Tested with GHC 7.0 - 9.6.1.
_Andreas Abel, 2023-05-02_
* Fri Apr 14 2023 Peter Simons <psimons@suse.com>
- Update alex to version 3.2.7.3.
[#]# Change in 3.2.7.3
* 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.
_Andreas Abel, 2023-04-14_
* Mon Apr 03 2023 Peter Simons <psimons@suse.com>
- Update alex to version 3.2.7.2.
* Fix bug with out-of-bound access to `alex_check` array.
(Surfaced with GHC's JS backend, fixed by Sylvain Henry in
PR [#223](https://github.com/haskell/alex/pull/223).)
* Upstream dropped installable documentation and man pages. The
documentation can now be found at these locations:
- Online (HTML): https://haskell-alex.readthedocs.io
- PDF: https://haskell-alex.readthedocs.io/_/downloads/en/latest/pdf/
- Downloadable HTML: https://haskell-alex.readthedocs.io/_/downloads/en/latest/htmlzip/
* Re-enabled the test suite for aarch64. The underlying issue
https://github.com/simonmar/alex/issues/130 was closed by
upstream.
* Thu Mar 30 2023 Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
* Sun Jan 23 2022 Peter Simons <psimons@suse.com>
- Update alex to version 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.
/usr/bin/alex /usr/share/alex-3.5.4.0 /usr/share/alex-3.5.4.0/AlexTemplate.hs /usr/share/alex-3.5.4.0/AlexWrappers.hs /usr/share/doc/packages/alex /usr/share/doc/packages/alex/CHANGELOG.md /usr/share/doc/packages/alex/README.md /usr/share/doc/packages/alex/examples /usr/share/doc/packages/alex/examples/Makefile /usr/share/doc/packages/alex/examples/Tokens.x /usr/share/doc/packages/alex/examples/Tokens_gscan.x /usr/share/doc/packages/alex/examples/Tokens_posn.x /usr/share/doc/packages/alex/examples/examples.x /usr/share/doc/packages/alex/examples/haskell.x /usr/share/doc/packages/alex/examples/lit.x /usr/share/doc/packages/alex/examples/pp.x /usr/share/doc/packages/alex/examples/state.x /usr/share/doc/packages/alex/examples/tiny.y /usr/share/doc/packages/alex/examples/words.x /usr/share/doc/packages/alex/examples/words_monad.x /usr/share/doc/packages/alex/examples/words_posn.x /usr/share/licenses/alex /usr/share/licenses/alex/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Oct 19 22:42:15 2025