Skip to content

Commit 2aef82a

Browse files
Ericson2314simonmarsimonmarandreasabelaskeblad
authored
Add alex's website (#225)
* initial import darcs-hash:f31256cacd824f520cf8a310867bce0cd3f4a1e5 * 2.1.0 updates darcs-hash:824bad7daa1f9011cb5ea3268d751cdfbf068b3d * point to release notes in HTML docs darcs-hash:15423d66fea9ebd4e3509e8f3442ac21e4bc7776 * fix Windows dist link darcs-hash:ae211262d2b4f8ecc47421b42f57f5c7d9c614ea * fix doc link darcs-hash:a1f389073bd61ad9f714fca21fb2077bf5a43ced * fix Windows link darcs-hash:808512723a9fe94171fbf9c0155e3fe8b2439cd8 * fix links to RPMs darcs-hash:321f4552372228e959966f07153c63683f84c435 * 2.2 updates darcs-hash:b9ded3926c4cabc21c63bdfbd28c240e51172e0f * update Cabal version darcs-hash:83453d8813d1f888db550fd4ebc436740c070006 * update; point to Hackage for latest releases Ignore-this: 521356bb8d9d2992663f5886405a2577 darcs-hash:68526c25a051165790d5beb00705f8fd00bc63ed * repo is in github Ignore-this: b3ce6bc01d51b17c7a64559413ce5017 darcs-hash:493decad1a525dfd40fb64f607e5532ef6a9144e * add link to PDF Ignore-this: cc5b693a0ba7dd8db0e26ca1dd185959 darcs-hash:699966963a7a1198a691a3e2c381b7b3f2364365 * Add missing files Ignore-this: 4112d18ff90b994945bce0d0373cec221dc9d0b6c93d04e57624814589642a08da35a85e033c008a darcs-hash:f33e244b89993ff21be3d5e3dd97974f4a277c66 * Add files that didn't get ported over for some reason * Update alex page * validate * Alex is no longer handled specially * Add alex to the builder * Remove site/alex/docs/html-OLD We have version control history, don't need two copies * alex: Remove docbook docs, we are doing reST / readthedocs.io now * Remove `site/alex/index.html-darcs-backup0` Having in history is enough * alex: Remove some darcs files / misc metadata Not sure what is, we'll keep in history. * alex: Convert line endings to Unix * alex: Make license URL point to sources on github * alex: Delete "Source of this page" notice Now that it is standard * Remove `site/alex/doc/alex.pdf` Only want to keep historical docs around * Clean up code blocks * alex: Remove silly tables, use basic CSS * alex: Capitalize "GitHub" Co-authored-by: simonmar <[email protected]> Co-authored-by: Simon Marlow <[email protected]> Co-authored-by: Andreas Abel <[email protected]> Co-authored-by: askeblad <[email protected]> Co-authored-by: Tom Ellis <[email protected]>
1 parent 3f24301 commit 2aef82a

24 files changed

+113
-10
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ Some of the others are
117117
| [`haddock/`](https://www.haskell.org/haddock/) | Redirect | Haddock maintainers | [Details](#details-haddock) |
118118
| [`haskell-symposium/`](https://www.haskell.org/haskell-symposium/) | | Haskell Symposium organisers | |
119119
| [`platform/`](https://www.haskell.org/platform/) | Redirect | | |
120-
| [`alex/`](https://www.haskell.org/alex/) | | Alex maintainers | [Details](#details-alex) |
121120
| [`arrows/`](https://www.haskell.org/arrows/) | | Ross Patterson | |
122121
| [`communities/`](https://www.haskell.org/communities/) | | | [Details](#details-communities) |
123122
| [`definition/`](https://www.haskell.org/definition/) | | Haskell Prime committee | [Details](#details-definition) |
@@ -146,15 +145,6 @@ Some of the others are
146145

147146
Same as https://perf.haskell.org
148147

149-
* <a name="details-alex"></a>
150-
`alex/`
151-
152-
Owned by the Alex maintainers.
153-
Source at https://github.com/haskell/alex/blob/master/www/index.html.
154-
Last update: 6 April 2022.
155-
156-
See also <https://github.com/haskell-infra/www.haskell.org/issues/183>
157-
158148
* <a name="details-communities"></a>
159149
`communities/`
160150

builder/site.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ main = mkContext >>= \ctx -> hakyllWith configuration $ do
3636
route idRoute
3737
compile copyFileCompiler
3838

39+
match "alex/**" $ do
40+
route idRoute
41+
compile copyFileCompiler
42+
3943
match "css/*" $ do
4044
route idRoute
4145
compile compressCssCompiler

site/alex/alex-2.1.0rc.tar.gz

66.5 KB
Binary file not shown.
Binary file not shown.
235 KB
Binary file not shown.
Binary file not shown.
66 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

site/alex/dist/2.2/alex-2.2.tar.gz

83 KB
Binary file not shown.

site/alex/dist/2.2/alex-2.2.zip

364 KB
Binary file not shown.

site/alex/dist/alex-1.1-src.tar.gz

180 KB
Binary file not shown.

site/alex/dist/alex-2.0-1.i386.rpm

267 KB
Binary file not shown.

site/alex/dist/alex-2.0-src.tar.gz

367 KB
Binary file not shown.

site/alex/dist/alex-2.0-win32.zip

164 KB
Binary file not shown.

site/alex/dist/alex-2.0.1-1.i386.rpm

206 KB
Binary file not shown.

site/alex/dist/alex-2.0.1-src.tar.gz

339 KB
Binary file not shown.

site/alex/dist/alex-2.0.1-win32.zip

180 KB
Binary file not shown.

site/alex/doc/alex-doc-2.0.1.ps

128 KB
Binary file not shown.
17.1 KB
Binary file not shown.
17.4 KB
Binary file not shown.
18.4 KB
Binary file not shown.
21.2 KB
Binary file not shown.

site/alex/index.html

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE html
3+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6+
7+
<head>
8+
<title>Alex</title>
9+
<style>
10+
body {
11+
font-family: Arial
12+
}
13+
h1 {
14+
font-size: 24pt;
15+
padding-bottom: 0px;
16+
background-color: #77aaFF;
17+
}
18+
h2 {
19+
border-bottom: 1px dotted;
20+
font-size: 18pt;
21+
padding-top: 10px
22+
}
23+
.code-block {
24+
padding-left: 1em;
25+
}
26+
</style>
27+
</head>
28+
<body>
29+
<h1>
30+
Alex: A lexical analyser generator for Haskell
31+
</h1>
32+
33+
<ul>
34+
<li><a href="#Overview">Overview</a></li>
35+
<li><a href="#Documentation">Documentation</a></li>
36+
<li><a href="#Download">Download</a></li>
37+
<li><a href="#Development">Development</a></li>
38+
</ul>
39+
40+
<h2>
41+
<a name="Overview">Overview</a>
42+
</h2>
43+
44+
<p>
45+
Alex is a tool for generating lexical analysers in Haskell, given a description of the tokens to be recognised in the form of regular expressions.
46+
It is similar to the tool <q>lex</q> or <q>flex</q> for C/C++.
47+
</p>
48+
49+
<h2>
50+
<a name="Documentation">Documentation</a>
51+
</h2>
52+
53+
<p>Documentation is hosted on <a href="https://haskell-alex.readthedocs.io">Read the Docs</a>.</p>
54+
<ul>
55+
<li><a href="https://haskell-alex.readthedocs.io">Online (HTML)</a></li>
56+
<li><a href="https://haskell-alex.readthedocs.io/_/downloads/en/latest/pdf/">PDF</a></li>
57+
<li><a href="https://haskell-alex.readthedocs.io/_/downloads/en/latest/htmlzip/">Downloadable HTML</a></li>
58+
</ul>
59+
60+
<h2>
61+
<a name="Download">Download</a>
62+
</h2>
63+
64+
<p>From <a href="https://hackage.haskell.org/package/alex">Hackage</a> via
65+
<a href="https://www.haskell.org/cabal/"><code>cabal-install</code></a>:</p>
66+
<div class="code-block"><code>
67+
cabal install alex
68+
</code></div>
69+
70+
<p>From <a href="https://www.stackage.org/package/alex">Stackage</a> via
71+
<a href="https://haskellstack.org"><code>stack</code></a>, e.g.:</p>
72+
<div class="code-block"><code>
73+
stack install --resolver nightly alex
74+
</code></div>
75+
76+
<p>Alex might also be pre-packaged for your OS (unconfirmed as of 2022-04-06):</p>
77+
78+
<ul>
79+
<li>Ubuntu users: packages should be available from the universe repository.</li>
80+
<li>Debian GNU/Linux users: packages are available <a href="http://packages.debian.org/alex">here</a>.</li>
81+
<li>RPMs for other versions of Linux can be built directly from the source, using <tt>rpmbuild -ta</tt>.</li>
82+
<li>FreeBSD/x86 users: Alex is in the ports tree,
83+
so either <tt>pkg_add -r hs-alex</tt>,
84+
or install it from the ports tree in <tt>/usr/ports/devel/hs-alex</tt>.
85+
</li>
86+
<li>OpenBSD users: Alex is in the -current ports tree, you can install it from <tt>/usr/ports/devel/alex</tt>.</li>
87+
</ul>
88+
89+
<h2>
90+
<a name="Development">Development</a>
91+
</h2>
92+
93+
<p>Alex is licensed under a
94+
<a href="https://github.com/haskell/alex/blob/master/LICENSE">BSD-style license</a>.
95+
The current sources are on <a href="https://github.com/haskell/alex">GitHub</a>,
96+
get the latest version with:
97+
</p>
98+
<div class="code-block"><code>
99+
git clone https://github.com/haskell/alex.git
100+
</code></div>
101+
102+
<p>
103+
Contribute by opening <a href="https://github.com/haskell/alex/issues">issues</a>
104+
which can be followed up by <a href="https://github.com/haskell/alex/pulls">pull requests</a>.
105+
</p>
106+
107+
</body>
108+
109+
</html>

0 commit comments

Comments
 (0)