Skip to content

Commit

Permalink
Replace webhops with their destinations. Fix typos, dead links,
Browse files Browse the repository at this point in the history
and cut now-unneeded verbiage. Clean up links.
  • Loading branch information
drh committed Sep 28, 2024
1 parent 549d92e commit 714864a
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 58 deletions.
8 changes: 4 additions & 4 deletions 1.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<header>
<h2>lcc, A Retargetable Compiler for ANSI C</h2>
<nav class="top-menu">
<p><a href="index.html">Home</a> &middot;
<p><a href="/">Home</a> &middot;
<a href="https://github.com/drh/lcc">Code</a> &middot;
<a href="https://htmlpreview.github.io/?https://raw.githubusercontent.com/drh/lcc/master/doc/install.html">Installation</a> &middot;
<a href="docs.html">Docs</a></p>
<a href="/docs.html">Docs</a></p>
</nav>
</header>
<main>
Expand Down Expand Up @@ -104,8 +104,8 @@ <h3>1st Printing Errata</h3>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="http://cwfraser.webhop.net"><em>Chris Fraser</em></a> &middot;
<a href="http://drh.webhop.net"><em>David Hanson</em></a></p>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
</html>
8 changes: 4 additions & 4 deletions 2.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<header>
<h2>lcc, A Retargetable Compiler for ANSI C</h2>
<nav class="top-menu">
<p><a href="index.html">Home</a> &middot;
<p><a href="/">Home</a> &middot;
<a href="https://github.com/drh/lcc">Code</a> &middot;
<a href="https://htmlpreview.github.io/?https://raw.githubusercontent.com/drh/lcc/master/doc/install.html">Installation</a> &middot;
<a href="docs.html">Docs</a></p>
<a href="/docs.html">Docs</a></p>
</nav>
</header>
<main>
Expand Down Expand Up @@ -152,8 +152,8 @@ <h3>2nd Printing Errata</span></h3>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="http://cwfraser.webhop.net"><em>Chris Fraser</em></a> &middot;
<a href="http://drh.webhop.net"><em>David Hanson</em></a></p>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
</html>
12 changes: 6 additions & 6 deletions contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
<header>
<h2>lcc, A Retargetable Compiler for ANSI C</h2>
<nav class="top-menu">
<p><a href="index.html">Home</a> &middot;
<p><a href="/">Home</a> &middot;
<a href="https://github.com/drh/lcc">Code</a> &middot;
<a href="https://htmlpreview.github.io/?https://raw.githubusercontent.com/drh/lcc/master/doc/install.html">Installation</a> &middot;
<a href="docs.html">Docs</a></p>
<a href="/docs.html">Docs</a></p>
</nav>
</header>
<main>
<h3>Contents</span></h3>
<dl>
<dt><strong>1. <a href="http://lccbook.webhop.net/pdf/01introduction.pdf" rel="nofollow">Introduction</a></strong></dt>
<dt><strong>1. <a href="https://lcc.s3.amazonaws.com/book/pdf/01introduction.pdf">Introduction</a></strong></dt>
<dd>Literate Programs. How to Read This Book. Overview. Design. Common Declarations. Syntax Specifications. Errors.</dd>
<dt><strong>2. Storage Management</strong></dt>
<dd>Memory Management Interface. Arena Representation. Allocating Space. Deallocating Space. Strings.</dd>
Expand All @@ -28,7 +28,7 @@ <h3>Contents</span></h3>
<dd>Representing Types. Type Management. Type Predicates. Type Constructors. Function Types. Structure and Enumeration Types. Type-Checking Functions. Type Mapping.</dd>
<dt><strong>5. Code Generation Interface</strong></dt>
<dd>Type Metrics. Interface Records. Symbols. Types. Dag Operators. Interface Flags. Initialization. Definitions. Constants. Functions. Interface Binding. Upcalls.</dd>
<dt><strong>6. <a href="http://lccbook.webhop.net/pdf/06lexical-analysis.pdf" rel="nofollow">Lexical Analysis</a></strong></dt>
<dt><strong>6. <a href="https://lcc.s3.amazonaws.com/book/pdf/06lexical-analysis.pdf">Lexical Analysis</a></strong></dt>
<dd>Input. Recognizing Tokens. Recognizing Keywords. Recognizing Identifiers. Recognizing Numbers. Recognizing Character Constants and Strings.</dd>
<dt><strong>7. Parsing</strong></dt>
<dd>Languages and Grammars. Ambiguity and Parse Trees. Top-Down Parsing. FIRST and FOLLOW Sets. Writing Parsing Functions. Handling Syntax Errors.</dd>
Expand Down Expand Up @@ -60,8 +60,8 @@ <h3>Contents</span></h3>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="http://cwfraser.webhop.net"><em>Chris Fraser</em></a> &middot;
<a href="http://drh.webhop.net"><em>David Hanson</em></a></p>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
</html>
Expand Down
53 changes: 23 additions & 30 deletions docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,67 +4,60 @@
<meta charset="UTF-8">
<title>lcc, A Retargetable Compiler for ANSI C</title>
<link href="style.css" rel="stylesheet" type="text/css">
<base href="https://drhanson.s3.amazonaws.com/storage/">
</head>
<body>
<header>
<h2>lcc, A Retargetable Compiler for ANSI C</h2>
<nav class="top-menu">
<p><a href="index.html">Home</a> &middot;
<p><a href="https://drh.github.io/lcc/">Home</a> &middot;
<a href="https://github.com/drh/lcc">Code</a> &middot;
<a href="https://htmlpreview.github.io/?https://raw.githubusercontent.com/drh/lcc/master/doc/install.html">Installation</a> &middot;
<a href="docs.html">Docs</a></p>
<a href="https://drh.github.io/lcc/docs.html">Docs</a></p>
</nav>
</header>
<main>
<h3>Docs</h3>
<p>Clicking on the PDF links in the citations below retrieves the PDF file for the associated publication; the numbers
after the links are the file sizes. Clicking on Code retrieves the associated code, lists the directory that holds
the code, or goes to a page that holds the code.</p>

<h4>Talks</h4>
<p>C. W. Fraser and D. R. Hanson, A Minimalist's Retargetable C Compiler, University of Delaware, 4/28/95.
<a href="http://storage.webhop.net/documents/lcc.pdf" rel="nofollow">PDF</a> (58KB).</p>
<a href="documents/lcc.pdf">PDF</a> (58KB).</p>
<p>C. W. Fraser and D. R. Hanson, A Lean Retargetable C Compiler, New York University, 4/4/96.
<a href="http://storage.webhop.net/documents/lean.pdf" rel="nofollow">PDF</a> (37KB).</p>
<a href="documents/lean.pdf">PDF</a> (37KB).</p>
<p>D. R. Hanson, Early Experience with ASDL in lcc, National Compiler Infrastructure Tutorial, SIGPLAN'98 Conference on
Programming Language Design and Implementation, Montreal, 6/19/98.
<a href="http://storage.webhop.net/documents/[email protected]" rel="nofollow">PDF</a> (71KB).</p>
<a href="documents/[email protected]">PDF</a> (71KB).</p>

<h4>Papers</h4>
<p>C. W. Fraser and D. R. Hanson, A Retargetable Compiler for ANSI C, SIGPLAN Notices <strong>26</strong>, 10 (Oct.
1991), 29-43. <a href="http://storage.webhop.net/documents/overview.pdf" rel="nofollow">PDF</a> (100KB).</p>
1991), 29-43. <a href="documents/overview.pdf">PDF</a> (100KB).</p>
<p>C. W. Fraser and D. R. Hanson, A Code Generation Interface for ANSI C, Software&mdash;Practice and Experience
<strong>21</strong>, 9 (Sep. 1991), 963-988. <a href="http://storage.webhop.net/documents/interface.pdf"
rel="nofollow">PDF</a> (88KB).</p>
<strong>21</strong>, 9 (Sep. 1991), 963-988. <a href="documents/interface.pdf">PDF</a> (88KB).</p>
<p>C. W. Fraser and D. R. Hanson, Simple Register Spilling in a Retargetable Compiler, Software&mdash;Practice and
Experience <strong>22</strong>, 1 (Jan. 1992), 85-99. <a href="http://storage.webhop.net/documents/spills.pdf"
rel="nofollow">PDF</a> (63KB).</p>
Experience <strong>22</strong>, 1 (Jan. 1992), 85-99. <a href="documents/spills.pdf">PDF</a> (63KB).</p>
<p>N. Ramsey and D. R. Hanson, A Retargetable Debugger, Proceedings of the SIGPLAN'92 Conference on Programming Language
Design and Implementation, SIGPLAN Notices <strong>27</strong>, 7 (July 1992). 22-31.
<a href="http://storage.webhop.net/documents/retargetable.pdf" rel="nofollow">PDF</a> (112KB).</p>
<p>C. W. Fraser, D. R. Hanson, and <a href="http://www.research.microsoft.com/~toddpro" rel="nofollow">T. A.
Proebsting</a>, Engineering a Simple, Efficient Code Generator Generator, ACM Letters on Programming Languages
and Systems <strong>1</strong>, 3 (Sep. 1992), 213-226. <a href="http://storage.webhop.net/documents/iburg.pdf"
rel="nofollow">PDF</a> (157KB), <a href="https://github.com/drh/iburg" rel="nofollow">Code</a>.</p>
<a href="documents/retargetable.pdf">PDF</a> (112KB).</p>
<p>C. W. Fraser, D. R. Hanson, and T. A. Proebsting,
Engineering a Simple, Efficient Code Generator Generator, ACM Letters on Programming Languages
and Systems <strong>1</strong>, 3 (Sep. 1992), 213-226. <a href="documents/iburg.pdf">PDF</a> (157KB),
<a href="https://github.com/drh/iburg">Code</a>.</p>
<p>D. R. Hanson and M. Raghavachari, A Machine-Independent Debugger, Software&mdash;Practice and Experience
<strong>26</strong>, 11 (1996) 1277-1299. <a href="http://storage.webhop.net/documents/cdb.pdf"
rel="nofollow">PDF</a> (350KB), <a href="http://storage.webhop.net/documents/cdbtalk.pdf" rel="nofollow">Talk
slides</a> (110KB), <a href="https://github.com/drh/cdb" rel="nofollow">Code</a>.</p>
<p>C. W. Fraser and D. R. Hanson, <a href="http://storage.webhop.net/documents/linux.html" rel="nofollow">Compile C
<strong>26</strong>, 11 (1996) 1277-1299. <a href="documents/cdb.pdf">PDF</a> (350KB),
<a href="documents/cdbtalk.pdf">Talk slides</a> (110KB), <a href="https://github.com/drh/cdb">Code</a>.</p>
<p>C. W. Fraser and D. R. Hanson, <a href="documents/linux.html">Compile C
Faster on Linux</a>, Linux Journal, 25 (May 1996) 32-33.</p>
<p>U. Erlingsson, M. Krishnamoorthy and T. V. Raman, Efficient Multiway Radix Search Trees, Information Processing
Letters <strong>60</strong>, 3 (Nov. 11, 1996), 115-120. <a href="http://storage.webhop.net/documents/mrst.pdf"
rel="nofollow">PDF</a> (96KB).</p>
Letters <strong>60</strong>, 3 (Nov. 11, 1996), 115-120. <a href="documents/mrst.pdf">PDF</a> (96KB).</p>
<p>D. R. Hanson, Early Experience with ASDL in lcc, Software&mdash;Practice and Experience <strong>29</strong>, 5
(1999), 417-435. <a href="http://storage.webhop.net/documents/asdl.pdf" rel="nofollow">PDF</a> (120KB).</p>
<p>The lcc 4.x Code-Generation Interface, MSR-TR-2001-64, Microsoft Research, July 2001 (with
<a href="http://cwfraser.webhop.net/" rel="nofollow">C. W. Fraser</a>).
<a href="http://storage.webhop.net/documents/interface4.pdf" rel="nofollow">PDF</a> (257 KB).</p>
(1999), 417-435. <a href="documents/asdl.pdf">PDF</a> (120KB).</p>
<p>C. W. Fraser and D. R. Hanson, The lcc 4.x Code-Generation Interface, MSR-TR-2001-64, Microsoft Research, July 2001.
<a href="documents/interface4.pdf">PDF</a> (257 KB).</p>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="http://cwfraser.webhop.net"><em>Chris Fraser</em></a> &middot;
<a href="http://drh.webhop.net"><em>David Hanson</em></a></p>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
</html>
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<header>
<h2>lcc, A Retargetable Compiler for ANSI C</h2>
<nav class="top-menu">
<p><a href="index.html">Home</a> &middot;
<p><a href="/">Home</a> &middot;
<a href="https://github.com/drh/lcc">Code</a> &middot;
<a href="https://htmlpreview.github.io/?https://raw.githubusercontent.com/drh/lcc/master/doc/install.html">Installation</a> &middot;
<a href="docs.html">Docs</a></p>
<a href="/docs.html">Docs</a></p>
</nav>
</header>
<main>
Expand All @@ -22,13 +22,13 @@ <h2>lcc, A Retargetable Compiler for ANSI C</h2>

<p>Buy: <a href="https://www.amazon.com/gp/product/0805316701?ie=UTF8&tag=drh-lcc-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0805316701">Amazon</a><br></p>
<p>Explore: <a href="contents.html">Contents</a> <a href="preface.html">Preface</a>
<a href="http://lccbook.webhop.net/pdf/01introduction.pdf" rel="nofollow">Introduction</a>
<a href="https://lcc.s3.amazonaws.com/book/pdf/01introduction.pdf">Introduction</a>
<a href="https://lcc.s3.amazonaws.com/book/pdf/06lexical-analysis.pdf">Chapter 6</a><br>
Errata: <a href="1.html">1st</a> <a href="2.html">2nd</a> printing</p>
<p>Reviews: <a href="https://compilers.iecc.com/comparch/article/95-04-170" rel="nofollow">comp.compilers</a>
(follow-ups: <a href="https://compilers.iecc.com/comparch/article/98-06-049" rel="nofollow">1</a>,
<a href="https://compilers.iecc.com/comparch/article/98-06-033" rel="nofollow">2</a>)</p>
<p>Related: <a href="http://cii.webhop.net" rel="nofollow" target="_blank">C Interfaces and Implementations</a> </p>
<p>Reviews: <a href="https://compilers.iecc.com/comparch/article/95-04-170">comp.compilers</a>
(follow-ups: <a href="https://compilers.iecc.com/comparch/article/98-06-049">1</a>,
<a href="https://compilers.iecc.com/comparch/article/98-06-033">2</a>)</p>
<p>Related: <a href="https://drh.github.io/cii/" target="_blank">C Interfaces and Implementations</a> </p>

<p>lcc is a retargetable compiler for Standard C. It generates code for the ALPHA, SPARC, MIPS R3000, and Intel x86 and its successors.</p>
<p>lcc is described in <em>A Retargetable C Compiler: Design and Implementation</em>
Expand All @@ -38,13 +38,13 @@ <h2>lcc, A Retargetable Compiler for ANSI C</h2>
and the code-generator generator that produced them.</p>
<p>The USENET newsgroup <a href="https://groups.google.com/group/comp.compilers.lcc">comp.compilers.lcc</a> is an
unmoderated newsgroup that serves as a forum for all topics related to the installation, use, and development of
lcc. You can post messages to comp.compilers.lcc at <a href="https://groups.google.com/">Google groups</a>.</p>
lcc.</p>

</main>
<footer>
<hr>
<p style="margin: 0;"><a href="http://cwfraser.webhop.net"><em>Chris Fraser</em></a> &middot;
<a href="http://drh.webhop.net"><em>David Hanson</em></a></p>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
</html>
8 changes: 4 additions & 4 deletions preface.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<header>
<h2>lcc, A Retargetable Compiler for ANSI C</h2>
<nav class="top-menu">
<p><a href="index.html">Home</a> &middot;
<p><a href="/">Home</a> &middot;
<a href="https://github.com/drh/lcc">Code</a> &middot;
<a href="https://htmlpreview.github.io/?https://raw.githubusercontent.com/drh/lcc/master/doc/install.html">Installation</a> &middot;
<a href="docs.html">Docs</a></p>
<a href="/docs.html">Docs</a></p>
</nav>
</header>
<main>
Expand Down Expand Up @@ -125,8 +125,8 @@ <h3>Preface</h3>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="http://cwfraser.webhop.net"><em>Chris Fraser</em></a> &middot;
<a href="http://drh.webhop.net"><em>David Hanson</em></a></p>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
</html>

0 comments on commit 714864a

Please sign in to comment.