The alex package

[ Tags: 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]

Properties

Versions 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
Dependencies array, base (>=1.0 && <4.7), containers, directory, QuickCheck (>=2) [details]
License BSD3
Copyright (c) Chis Dornan, Simon Marlow
Author Chris Dornan and Simon Marlow
Maintainer Simon Marlow <marlowsd@gmail.com>
Category Development
Home page http://www.haskell.org/alex/
Bug tracker mailto:marlowsd@gmail.com
Source repository head: git clone https://github.com/simonmar/alex.git
Uploaded Tue Feb 19 15:47:08 UTC 2013 by SimonMarlow
Updated Tue Jan 6 21:51:34 UTC 2015 by HerbertValerioRiedel to revision 2
Distributions Arch:3.2.3, Debian:3.1.6, Fedora:3.2.1, FreeBSD:3.1.4, LTSHaskell:3.2.3, NixOS:3.2.3, Stackage:3.2.3, Tumbleweed:3.2.1
Executables alex
Downloads 91980 total (3215 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Successful builds reported [all 8 reports]
Hackage Matrix CI

Flags

NameDescriptionDefaultType
small_base

Choose the new smaller, split-up base package.

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for alex-3.0.4

[back to package description]
		       Alex: A Lexical Analyser Generator

Alex is a Lex-like tool for generating Haskell scanners.  For complete
documentation, see the doc directory.

   http://www.haskell.org/alex/
   http://hackage.haskell.org/package/alex

Alex is built using Cabal.  First install GHC, then:
 
  $ runhaskell Setup.lhs configure
  $ runhaskell Setup.lhs build
  $ runhaskell Setup.lhs install

Alex version 2.0 has changed fairly considerably since version 1.x,
and the syntax is almost completely different.  For a detailed list of
changes, see the release notes in the documentation.

Alex is now covered by a BSD-Style licence; see the licence file in
the `doc' directory for details.

The sources are in the the `src' directory and the documentation in the `doc'
directory; various  examples are in the 'examples' subdirectory.

The source code in the 'src' and 'examples' directories is intended
for a Haskell 98 compiler with hierarchical modules.  It should work
with GHC >= 5.04.

Please report any bugs or comments to the email addresses given below.

Share and enjoy,

Chris Dornan:  cdornan@arm.com
Isaac Jones:   ijones@syntaxpolice.org
Simon Marlow:  simonmar@microsoft.com