Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haskell/alex

A lexical analyser generator for Haskell
https://github.com/haskell/alex

lexer-generator

Last synced: about 1 month ago
JSON representation

A lexical analyser generator for Haskell

Awesome Lists containing this project

README

        

# Alex: A Lexical Analyser Generator

[![Haskell-CI](https://github.com/haskell/alex/actions/workflows/haskell-ci.yml/badge.svg)](https://github.com/haskell/alex/actions/workflows/haskell-ci.yml)

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](https://haskell-alex.readthedocs.io):

- [Online (HTML)](https://haskell-alex.readthedocs.io)
- [PDF](https://haskell-alex.readthedocs.io/_/downloads/en/latest/pdf/)
- [Downloadable HTML](https://haskell-alex.readthedocs.io/_/downloads/en/latest/htmlzip/)

For basic information of the sort typically found in a read-me, see the following sections of the docs:

- [About Alex](https://haskell-alex.readthedocs.io/en/latest/about.html)
- [Obtaining Alex](https://haskell-alex.readthedocs.io/en/latest/obtaining.html)
- [Contributing](https://haskell-alex.readthedocs.io/en/latest/contributing.html)