A lexical analyser generator for Haskell
Haskell Logos Yacc Other
Latest commit ff84f44 Oct 1, 2017 @simonmar simonmar Merge pull request #117 from stites/gitignore
add cabal sandboxes and stack-work to gitignore
Permalink
Failed to load latest commit information.
doc Add docbook xml path as currently found in Arch linux. This should al… Aug 28, 2017
examples examples: populate .gitignore and sync Makeilfe with tests/ Oct 16, 2016
src Revert "Lay out long byte array literals across multiple lines 80 Sep 8, 2017
templates Fix shadowing warnings Sep 5, 2017
tests
.gitignore add cabal sandboxes and stack-work to gitignore Sep 28, 2017
.mailmap .mailmap: new file to help GIT deal with incomplete/broken author info May 30, 2012
.travis.yml Test the sdist better Sep 5, 2017
CHANGELOG.md 3.2.3 Sep 8, 2017
LICENSE copyright date updates Aug 4, 2011
Makefile Use pre-generated source files in the Hackage upload Sep 2, 2017
NOTE.txt UTF-8 support from Jean-Philippe Bernardy and Alan Zimmerman. Jul 11, 2011
README.md Convert README to markdown and update travis file Aug 2, 2016
Setup.lhs
TODO TODO: add a couple of sub-items, fix a typo May 30, 2012
alex.cabal Merge pull request #115 from alexbiehl/pr/homemod Sep 8, 2017
alex.spec some 2.2 updates Oct 23, 2007
build-windows-dist.sh add script for building the Windows dist Jan 9, 2007
make-sdist.sh special sdist steps aren't necessary now Oct 13, 2008
stack.yaml add stack file Sep 28, 2017
test.hs Fix compiler warnings in generated code Jul 31, 2016

README.md

Alex: A Lexical Analyser Generator

Build Status

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 and cabal-install, then:

$ cabal configure
$ cabal build
$ cabal 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 '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 at https://github.com/simonmar/alex/issues

Share and enjoy,

Chris Dornan: cdornan@arm.com

Isaac Jones: ijones@syntaxpolice.org

Simon Marlow: simonmar@microsoft.com