From HaskellWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


This is a lexer generator in the general style of 'lex', 'flex' etc. Naturally, as it generates and uses Haskell code there is much more that can be done in the actual lexer code. See for downloads and documentation. Alex may be used with Happy to do the normal first two stages of compilation, lexing and parsing.


Alex comes with a number of wrappers to enable different lexing tasks and styles. Alternate wrappers contributed by others may be listed here.

This article is a stub. You can help by expanding it.