Alex is a tool for generating lexical analysers in Haskell

Version on this page:[email protected]:1
LTS Haskell 15.14:3.2.5
Stackage Nightly 2020-05-26:3.2.5
Latest on Hackage:3.2.5

See all snapshots alex appears in

BSD-3-Clause licensed by Chris Dornan and Simon Marlow
Maintained by Simon Marlow

Module documentation for 3.1.3

This version can be pinned in stack with:[email protected]:cd88d8be642aa3de367ccc2bcfa54c68ed2156260b982d613f4d22b50959a099,3010

There are no documented modules for this package.

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++.

Changes in 3.1.3:

  • Fix for clang (XCode 5)

Changes in 3.1.2:

  • Add missing file to extra-source-files

Changes in 3.1.1:

  • Bug fixes (


Changes in 3.1.0:

  • necessary changes to work with GHC 7.8.1