Description
Alex is a tool for generating lexical analysers in Haskell.
Description
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++.
README.md
Alex: A Lexical Analyser Generator
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: