|
Alex: A lexical analyser generator for Haskell |
|
|
|
News |
- November 2 2007: Alex version 2.2 released (Release notes)
- January 8 2007: Alex version 2.1.0 released (Release notes)
- March 23 2005: Alex version 2.0.1 released (bugfix to 2.0)
- August 13 2003: Alex version 2.0 released (Release notes)
|
|
Overview |
|
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 tool
lex or flex for C/C++.
|
|
Documentation |
|
|
|
Development |
|
Alex is licensed under a BSD-style license. The current sources are in a Darcs
repository, to get the latest version say:
darcs get http://darcs.haskell.org/alex/
Feel free to hack on Alex and darcs send me your
patches.
|
|
Download |
- Source distribution: alex-2.2.tar.gz
(requires Cabal-1.2 or later to compile).
- Many Linux distributions have pre-packaged binaries of Alex
available, try looking in your OS's package management
tools.
- RPMs for other flavours of Linux: RPMs can be built from the
source distribution using rpm -ta, but you do need GHC
installed.
- FreeBSD: Alex is in the ports tree, under devel/hs-alex.
- OpenBSD: Alex is in the ports tree, under devel/alex.
- Windows: zipped binary distribution.
|