aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/LangImpl3.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
commit34a535ffe80ef25487f78dba96a36819630bf500 (patch)
treeb571b5ba6cdec361738bf2dc78b0b95210ec41bd /docs/tutorial/LangImpl3.html
parent7eccd2b40188dd1481bae1458d675152447823b9 (diff)
downloadexternal_llvm-34a535ffe80ef25487f78dba96a36819630bf500.zip
external_llvm-34a535ffe80ef25487f78dba96a36819630bf500.tar.gz
external_llvm-34a535ffe80ef25487f78dba96a36819630bf500.tar.bz2
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/LangImpl3.html')
-rw-r--r--docs/tutorial/LangImpl3.html19
1 files changed, 16 insertions, 3 deletions
diff --git a/docs/tutorial/LangImpl3.html b/docs/tutorial/LangImpl3.html
index 59513ab..2e961d2 100644
--- a/docs/tutorial/LangImpl3.html
+++ b/docs/tutorial/LangImpl3.html
@@ -13,18 +13,31 @@
<div class="doc_title">Kaleidoscope: Code generation to LLVM IR</div>
+<ul>
+<li>Chapter 3
+ <ol>
+ <li><a href="#intro">Chapter 3 Introduction</a></li>
+ <li><a href="#basics">Code Generation setup</a></li>
+ <li><a href="#exprs">Expression Code Generation</a></li>
+ <li><a href="#funcs">Function Code Generation</a></li>
+ <li><a href="#driver">Driver Changes and Closing Thoughts</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 3 Introduction</a></div>
+<div class="doc_section"><a name="intro">Chapter 3 Introduction</a></div>
<!-- *********************************************************************** -->
<div class="doc_text">
-<p>Welcome to part 3 of the "<a href="index.html">Implementing a language with
-LLVM</a>" tutorial. This chapter shows you how to transform the <a
+<p>Welcome to Chapter 3 of the "<a href="index.html">Implementing a language
+with LLVM</a>" tutorial. This chapter shows you how to transform the <a
href="LangImpl2.html">Abstract Syntax Tree built in Chapter 2</a> into LLVM IR.
This will teach you a little bit about how LLVM does things, as well as
demonstrate how easy it is to use. It's much more work to build a lexer and