| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Fri, 16 Jan 2026 12:28:19 GMT
X-Served-By: cache-dfw-kdfw8210073-DFW, cache-bom-vanm7210076-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768566499.329144,VS0,VE382
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
alex: Alex is a tool for generating lexical analysers in Haskell
[Skip to Readme]
alex: 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++.
[Skip to Readme]
Downloads
- alex-3.5.4.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 2.1.0, 2.2, 2.3, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.7.1, 3.2.7.2, 3.2.7.3, 3.2.7.4, 3.3.0.0, 3.4.0.0, 3.4.0.1, 3.5.0.0, 3.5.1.0, 3.5.2.0, 3.5.3.0, 3.5.4.0 (info) |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | array, base (>=4.9 && <5), containers, directory [details] |
| Tested with | ghc ==9.12.2, ghc ==9.10.2, ghc ==9.8.4, ghc ==9.6.7, ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2 |
| License | BSD-3-Clause |
| Copyright | (c) Chis Dornan, Simon Marlow |
| Author | Chris Dornan and Simon Marlow |
| Maintainer | https://github.com/haskell/alex |
| Uploaded | by AndreasAbel at 2025-08-03T21:16:33Z |
| Category | Development |
| Home page | https://www.haskell.org/alex/ |
| Bug tracker | https://github.com/haskell/alex/issues |
| Source repo | head: git clone https://github.com/haskell/alex.git |
| Distributions | Arch:3.5.2.0, Debian:3.2.5, Fedora:3.5.2.0, FreeBSD:3.1.4, LTSHaskell:3.5.4.0, NixOS:3.5.4.0, Stackage:3.5.4.0, openSUSE:3.5.4.0 |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Executables | alex |
| Downloads | 171618 total (126 in the last 30 days) |
| Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs not available [build log] All reported builds failed as of 2025-08-03 [all 1 reports] |
Readme for alex-3.5.4.0
[back to package description]Alex: A Lexical Analyser Generator
Alex is a tool for generating lexical analysers, also known as "lexers" and "scanners", in Haskell. The lexical analysers implement 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++.
Share and enjoy!
Documentation
Documentation is hosted on Read the Docs:
For basic information of the sort typically found in a read-me, see the following sections of the docs: