-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.html
52 lines (50 loc) · 2.56 KB
/
README.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<title></title>
</head>
<body>
<h1 id="gp-analysis-of-hackage-readme">GP analysis of Hackage README</h1>
<p>For the report and documentation of the project, check the file <code>report.pdf</code></p>
<p>There is also the presentation we gave at the file <code>presentation.pdf</code></p>
<h2 id="building">Building</h2>
<pre><code>runghc Setup.lhs configure
runghc Setup.lhs build
runghc Setup.lhs install</code></pre>
<h1 id="before-running">Before running</h1>
<p>You have to fetch the the entire hackage repository and its activity log. You can automatically do that with:</p>
<pre><code>gpah --fetch</code></pre>
<h2 id="running-the-analysis">Running the analysis</h2>
<p>After building the program, run it with</p>
<p><code>gpah args</code></p>
<pre><code>Generic Programming Use in Hackage Project v0.0.1
gpah [OPTIONS]
Common flags:
--fetch Fetch the Hackage archive tarball and Hackage
activity log
-d --deriving[=FILE] Run the deriving analysis and output it to the
specified file
-f --function[=FILE] Run the function analysis and output it to the
specified file
-u --uniplate[=FILE] Run the uniplate analysis and output it to the
specified file
-h --misc_hackage[=FILE] Print general analysis info or output it to the
specified file
-t --misc_date[=FILE] Get syb+uniplate date info and output it to the
specified file (implies --misc_hackage)
--hackage-dir=DIR Set the hackage archive directory
--hackage-log=FILE Set the hackage archive log file
-c --cpp[=FILE] Run preprocessing in hackage that yields an
analysis with less failed-to-parse modules
-i --interpret[=FILE] Do type-checking interpretation on modules that
depend on SYB or Uniplate
-e --derive[=FILE] Do analysis on packages that build on derive
-? --help Display help message
-V --version Print version information</code></pre>
<p>For a detailed description of the accepted arguments run:</p>
<p><code>gpah --help</code></p>
</body>
</html>