alex: Alex is a tool for generating lexical analysers in Haskell

[ bsd3, development, program ] [ Propose Tags ]

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

Maintainer's Corner

Package maintainers

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 (info)
Change log CHANGELOG.md
Dependencies array, base (>=4.9 && <5), containers, directory [details]
License BSD-3-Clause
Copyright (c) Chis Dornan, Simon Marlow
Author Chris Dornan and Simon Marlow
Maintainer https://github.com/haskell/alex
Category Development
Home page http://www.haskell.org/alex/
Bug tracker https://github.com/haskell/alex/issues
Source repo head: git clone https://github.com/haskell/alex.git
Uploaded by AndreasAbel at 2024-02-29T13:15:15Z
Distributions Arch:3.2.7.4, Debian:3.2.5, Fedora:3.3.0.0, FreeBSD:3.1.4, LTSHaskell:3.4.0.1, NixOS:3.4.0.1, Stackage:3.5.1.0, openSUSE:3.5.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Executables alex
Downloads 163337 total (731 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 2024-02-29 [all 1 reports]

Readme for alex-3.5.1.0

[back to package description]

Alex: A Lexical Analyser Generator

Haskell-CI

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: