|
1 |
| -<?xml version="1.0" encoding="ISO-8859-1"?> |
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <!DOCTYPE html
|
3 | 3 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4 | 4 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
7 | 7 | <head>
|
8 | 8 | <title>Alex</title>
|
9 | 9 | </head>
|
10 |
| - |
| 10 | +<body> |
11 | 11 | <table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
|
12 |
| - collapse; font-family: Arial" bordercolor="#111111" width="800" align="center"> |
| 12 | + collapse; font-family: Arial" width="800" align="center"> |
13 | 13 | <tr>
|
14 | 14 | <td width="100%" style="font-size: 24pt; padding-bottom: 0px" bgcolor="#77aaFF">
|
15 | 15 | Alex: A lexical analyser generator for Haskell</td>
|
|
33 | 33 | <p>Alex is a tool for generating lexical analysers
|
34 | 34 | in Haskell, given a description of the tokens to be recognised
|
35 | 35 | in the form of regular expressions. It is similar to the tool
|
36 |
| - <quote>lex</quote> or <quote>flex</quote> for C/C++.</p> |
| 36 | + <q>lex</q> or <q>flex</q> for C/C++.</p> |
37 | 37 | </td>
|
38 | 38 | </tr>
|
39 | 39 | <tr style="border-bottom: 1px dotted">
|
|
42 | 42 | </tr>
|
43 | 43 | <tr>
|
44 | 44 | <td width="100%" style="padding-left: 10px; padding-top: 5px">
|
45 |
| - <p>Documentation is hosted on <a href="https://haskell-alex.readthedocs.io">Read the Docs</a>. |
| 45 | + <p>Documentation is hosted on <a href="https://haskell-alex.readthedocs.io">Read the Docs</a>.</p> |
46 | 46 | <ul>
|
47 | 47 | <li><a href="https://haskell-alex.readthedocs.io">Online (HTML)</a></li>
|
48 | 48 | <li><a href="https://haskell-alex.readthedocs.io/_/downloads/en/latest/pdf/">PDF</a></li>
|
|
58 | 58 | <td width="100%" style="padding-left: 10px; padding-top: 5px">
|
59 | 59 |
|
60 | 60 | <p>From <a href="https://hackage.haskell.org/package/alex">Hackage</a> via
|
61 |
| - <a href="https://www.haskell.org/cabal/"><code>cabal-install</code></a>: |
| 61 | + <a href="https://www.haskell.org/cabal/"><code>cabal-install</code></a>:</p> |
62 | 62 | <pre>
|
63 | 63 | cabal install alex
|
64 | 64 | </pre>
|
65 |
| - </p> |
66 | 65 |
|
67 | 66 | <p>From <a href="https://www.stackage.org/package/alex">Stackage</a> via
|
68 |
| - <a href="https://haskellstack.org"><code>stack</code></a>, e.g.: |
| 67 | + <a href="https://haskellstack.org"><code>stack</code></a>, e.g.:</p> |
69 | 68 | <pre>
|
70 | 69 | stack install --resolver nightly alex
|
71 | 70 | </pre>
|
72 |
| - </p> |
73 | 71 |
|
74 | 72 | <p>Alex might also be pre-packaged for your OS (unconfirmed as of 2022-04-06):</p>
|
75 | 73 |
|
76 |
| - <UL> |
77 |
| - <LI>Ubuntu users: packages should be available from the universe repository.</LI> |
78 |
| - <LI>Debian GNU/Linux users: packages are available <a href="http://packages.debian.org/alex">here</a>.</LI> |
79 |
| - <LI>RPMs for other versions of Linux can be built directly from the source, using <tt>rpmbuild -ta</tt>.</LI> |
80 |
| - <LI>FreeBSD/x86 users: Alex is in the ports tree, so either <tt>pkg_add -r |
| 74 | + <ul> |
| 75 | + <li>Ubuntu users: packages should be available from the universe repository.</li> |
| 76 | + <li>Debian GNU/Linux users: packages are available <a href="http://packages.debian.org/alex">here</a>.</li> |
| 77 | + <li>RPMs for other versions of Linux can be built directly from the source, using <tt>rpmbuild -ta</tt>.</li> |
| 78 | + <li>FreeBSD/x86 users: Alex is in the ports tree, so either <tt>pkg_add -r |
81 | 79 | hs-alex</tt>, or install it from the ports tree in
|
82 |
| - <tt>/usr/ports/devel/hs-alex</tt>.</LI> |
| 80 | + <tt>/usr/ports/devel/hs-alex</tt>.</li> |
83 | 81 | <li>OpenBSD users: Alex is in the -current ports tree, you can
|
84 | 82 | install it from <tt>/usr/ports/devel/alex</tt>.</li>
|
85 |
| - </UL> |
| 83 | + </ul> |
86 | 84 |
|
87 | 85 | </td>
|
88 | 86 | </tr>
|
|
96 | 94 | href="http://www.haskell.org/alex/doc/html/license.html">BSD-style
|
97 | 95 | license</a>.
|
98 | 96 | The current sources are on <a href="https://github.com/haskell/alex">github</a>,
|
99 |
| - get the latest version with: |
100 |
| - <pre> git clone https://github.com/haskell/alex</pre> |
101 |
| - </p> |
| 97 | + get the latest version with:</p> |
| 98 | + <pre> git clone https://github.com/haskell/alex.git</pre> |
102 | 99 |
|
103 | 100 | <p>Contribute by opening <a href="https://github.com/haskell/alex/issues">issues</a>
|
104 | 101 | which can be followed up by <a href="https://github.com/haskell/alex/pulls">pull requests</a>.</p>
|
105 | 102 | </td>
|
106 | 103 | </tr>
|
107 | 104 | </table>
|
108 |
| -<hr> |
| 105 | +<hr></hr> |
109 | 106 | <p style="font-family: Arial">Source of this page:
|
110 | 107 | <a href="https://github.com/haskell/alex/blob/master/www/index.html"><code>index.html</code></a>,
|
111 | 108 | deployed 2022-04-06.</p>
|
|
0 commit comments