./devel/alex, Tool for generating lexical analysers in Haskell

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 3.5.4.2, Package name: alex-3.5.4.2, Maintainer: esg

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.


Required to run:
[lang/ghc7]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 92.219 KB

Version history: (Expand)


CVS history: (Expand)


   2026-04-05 14:14:27 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
alex: update to 3.5.4.2.

## Changes in 3.5.4.2

* Fix botched distribution tarball of 3.5.4.1.
* Tested with GHC 8.0 - 9.14.1.

_Andreas Abel, 2026-03-22_

## Changes in 3.5.4.1

* New examples and fixes to the documentation (#284, #285, #286).
* Tested with GHC 8.0 - 9.14.1.

_Andreas Abel, 2026-03-21_
   2025-08-20 21:39:34 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
devel/alex: update to alex-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.
   2025-08-13 13:07:47 by Masatake Daimon | Files touched by this commit (1263)
Log message:
Bump all Haskell because lang/ghc910 has got a library change
   2025-04-30 12:10:02 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
devel/alex: update to alex-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.
   2025-03-05 04:40:14 by Masatake Daimon | Files touched by this commit (1173)
Log message:
recursive revbump after patching lang/ghc910
   2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173)
Log message:
Bump all Haskell packages after switching the default compiler.
   2025-01-13 07:36:27 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
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.
   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler