summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/LangImpl6.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
commit639a18dc26a0a242da2d2124c1f109c017d00244 (patch)
tree9d2ff6a99c9e7283b1c7735fc57a3e1f6bb7ec90 /llvm/docs/tutorial/LangImpl6.html
parent1a30c18e88b7b70ca8169d9aaee2df76fb912a4f (diff)
downloadbcm5719-llvm-639a18dc26a0a242da2d2124c1f109c017d00244.tar.gz
bcm5719-llvm-639a18dc26a0a242da2d2124c1f109c017d00244.zip
add table of contents to each chapter.
llvm-svn: 43723
Diffstat (limited to 'llvm/docs/tutorial/LangImpl6.html')
-rw-r--r--llvm/docs/tutorial/LangImpl6.html19
1 files changed, 16 insertions, 3 deletions
diff --git a/llvm/docs/tutorial/LangImpl6.html b/llvm/docs/tutorial/LangImpl6.html
index 5a184c2c181..978ba8e1cd6 100644
--- a/llvm/docs/tutorial/LangImpl6.html
+++ b/llvm/docs/tutorial/LangImpl6.html
@@ -13,18 +13,31 @@
<div class="doc_title">Kaleidoscope: Extending the Language: User-defined Operators</div>
+<ul>
+<li>Chapter 6
+ <ol>
+ <li><a href="#intro">Chapter 6 Introduction</a></li>
+ <li><a href="#idea">User-defined Operators: the Idea</a></li>
+ <li><a href="#binary">User-defined Binary Operators</a></li>
+ <li><a href="#unary">User-defined Unary Operators</a></li>
+ <li><a href="#example">Kicking the Tires</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 6 Introduction</a></div>
+<div class="doc_section"><a name="intro">Chapter 6 Introduction</a></div>
<!-- *********************************************************************** -->
<div class="doc_text">
-<p>Welcome to Part 6 of the "<a href="index.html">Implementing a language with
-LLVM</a>" tutorial. At this point in our tutorial, we now have a fully
+<p>Welcome to Chapter 6 of the "<a href="index.html">Implementing a language
+with LLVM</a>" tutorial. At this point in our tutorial, we now have a fully
functional language that is fairly minimal, but also useful. One big problem
with it though is that it doesn't have many useful operators (like division,
logical negation, or even any comparisons other than less-than.</p>
OpenPOWER on IntegriCloud