A tool for generating lexical analysers in Haskell
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++.
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++.
To install alex, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install alex
To see what files were installed by alex, run:
port contents alex
To later upgrade alex, run:
sudo port selfupdate && sudo port upgrade alex
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.