Skip to content

Commit

Permalink
Update cwf's home page URL. Copy PDFs for 2 chapters from Amazon S3
Browse files Browse the repository at this point in the history
to documents/ on the way to making this site self-contained.
  • Loading branch information
drh committed Oct 6, 2024
1 parent 3540f5f commit 8b59a8d
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion 1.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h3>1st Printing Errata</h3>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<p style="margin: 0;"><a href="https://cwf.github.io"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
Expand Down
2 changes: 1 addition & 1 deletion 2.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ <h3>2nd Printing Errata</span></h3>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<p style="margin: 0;"><a href="https://cwf.github.io"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
Expand Down
6 changes: 3 additions & 3 deletions contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h2>lcc, A Retargetable Compiler for ANSI C</h2>
<main>
<h3>Contents</span></h3>
<dl>
<dt><strong>1. <a href="https://lcc.s3.amazonaws.com/book/pdf/01introduction.pdf">Introduction</a></strong></dt>
<dt><strong>1. <a href="documents/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="https://lcc.s3.amazonaws.com/book/pdf/06lexical-analysis.pdf">Lexical Analysis</a></strong></dt>
<dt><strong>6. <a href="documents/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,7 +60,7 @@ <h3>Contents</span></h3>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<p style="margin: 0;"><a href="https://cwf.github.io"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h4>Papers</h4>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<p style="margin: 0;"><a href="https://cwf.github.io"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
Expand Down
Binary file added documents/01introduction.pdf
Binary file not shown.
Binary file added documents/06lexical-analysis.pdf
Binary file not shown.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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="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>
<a href="documents/01introduction.pdf">Introduction</a>
<a href="documents/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">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>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 @@ -43,7 +43,7 @@ <h2>lcc, A Retargetable Compiler for ANSI C</h2>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<p style="margin: 0;"><a href="https://cwf.github.io"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
Expand Down
2 changes: 1 addition & 1 deletion preface.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h3>Preface</h3>
</main>
<footer>
<hr>
<p style="margin: 0;"><a href="https://people.well.com/user/cwf/"><em>Chris Fraser</em></a> &middot;
<p style="margin: 0;"><a href="https://cwf.github.io"><em>Chris Fraser</em></a> &middot;
<a href="https://drh.github.io"><em>David Hanson</em></a></p>
</footer>
</body>
Expand Down

0 comments on commit 8b59a8d

Please sign in to comment.