summaryrefslogtreecommitdiff
path: root/docs/tutorial/LangImpl7.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-05 19:06:59 +0000
committerChris Lattner <sabre@nondot.org>2007-11-05 19:06:59 +0000
commit128eb863dfb242aac982b505a9aab06dc35be8d1 (patch)
treeb571b5ba6cdec361738bf2dc78b0b95210ec41bd /docs/tutorial/LangImpl7.html
parent8699a97a2ef42d349c9b81317d55ff621c459adc (diff)
downloadllvm-128eb863dfb242aac982b505a9aab06dc35be8d1.tar.gz
llvm-128eb863dfb242aac982b505a9aab06dc35be8d1.tar.bz2
llvm-128eb863dfb242aac982b505a9aab06dc35be8d1.tar.xz
add table of contents to each chapter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/LangImpl7.html')
-rw-r--r--docs/tutorial/LangImpl7.html24
1 files changed, 20 insertions, 4 deletions
diff --git a/docs/tutorial/LangImpl7.html b/docs/tutorial/LangImpl7.html
index 07dd5c620f..bea97e51da 100644
--- a/docs/tutorial/LangImpl7.html
+++ b/docs/tutorial/LangImpl7.html
@@ -14,19 +14,35 @@
<div class="doc_title">Kaleidoscope: Extending the Language: Mutable Variables</div>
+<ul>
+<li>Chapter 7
+ <ol>
+ <li><a href="#intro">Chapter 7 Introduction</a></li>
+ <li><a href="#why">Why is this a hard problem?</a></li>
+ <li><a href="#memory">Memory in LLVM</a></li>
+ <li><a href="#kalvars">Mutable Variables in Kaleidoscope</a></li>
+ <li><a href="#adjustments">Adjusting Existing Variables for
+ Mutation</a></li>
+ <li><a href="#assignment">New Assignment Operator</a></li>
+ <li><a href="#localvars">User-defined Local Variables</a></li>
+ <li><a href="#code">Full Code Listing</a></li>
+ </ol>
+</li>
+</ul>
+
<div class="doc_author">
<p>Written by <a href="mailto:sabre@nondot.org">Chris Lattner</a></p>
</div>
<!-- *********************************************************************** -->
-<div class="doc_section"><a name="intro">Part 7 Introduction</a></div>
+<div class="doc_section"><a name="intro">Chapter 7 Introduction</a></div>
<!-- *********************************************************************** -->
<div class="doc_text">
-<p>Welcome to Part 7 of the "<a href="index.html">Implementing a language with
-LLVM</a>" tutorial. In parts 1 through 6, we've built a very respectable,
-albeit simple, <a
+<p>Welcome to Chapter 7 of the "<a href="index.html">Implementing a language
+with LLVM</a>" tutorial. In chapters 1 through 6, we've built a very
+respectable, albeit simple, <a
href="http://en.wikipedia.org/wiki/Functional_programming">functional
programming language</a>. In our journey, we learned some parsing techniques,
how to build and represent an AST, how to build LLVM IR, and how to optimize