summaryrefslogtreecommitdiff
path: root/docs/tutorial/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial/index.rst')
-rw-r--r--docs/tutorial/index.rst44
1 files changed, 19 insertions, 25 deletions
diff --git a/docs/tutorial/index.rst b/docs/tutorial/index.rst
index 2da4212e56..4658f9619e 100644
--- a/docs/tutorial/index.rst
+++ b/docs/tutorial/index.rst
@@ -1,36 +1,30 @@
+================================
LLVM Tutorial: Table of Contents
================================
-.. TODO:: Use Sphinx toctree once all of these pages are converted.
+Kaleidoscope: Implementing a Language with LLVM
+===============================================
+
+.. toctree::
+ :titlesonly:
+ :glob:
+ :numbered:
-#. Kaleidoscope: Implementing a Language with LLVM
+ LangImpl*
- #. `Tutorial Introduction and the Lexer <LangImpl1.html>`__
- #. `Implementing a Parser and AST <LangImpl2.html>`__
- #. `Implementing Code Generation to LLVM IR <LangImpl3.html>`__
- #. `Adding JIT and Optimizer Support <LangImpl4.html>`__
- #. `Extending the language: control flow <LangImpl5.html>`__
- #. `Extending the language: user-defined operators <LangImpl6.html>`__
- #. `Extending the language: mutable variables / SSA
- construction <LangImpl7.html>`__
- #. `Conclusion and other useful LLVM tidbits <LangImpl8.html>`__
+Kaleidoscope: Implementing a Language with LLVM in Objective Caml
+=================================================================
-#. Kaleidoscope: Implementing a Language with LLVM in Objective Caml
+.. toctree::
+ :titlesonly:
+ :glob:
+ :numbered:
- #. `Tutorial Introduction and the Lexer <OCamlLangImpl1.html>`__
- #. `Implementing a Parser and AST <OCamlLangImpl2.html>`__
- #. `Implementing Code Generation to LLVM IR <OCamlLangImpl3.html>`__
- #. `Adding JIT and Optimizer Support <OCamlLangImpl4.html>`__
- #. `Extending the language: control flow <OCamlLangImpl5.html>`__
- #. `Extending the language: user-defined
- operators <OCamlLangImpl6.html>`__
- #. `Extending the language: mutable variables / SSA
- construction <OCamlLangImpl7.html>`__
- #. `Conclusion and other useful LLVM tidbits <OCamlLangImpl8.html>`__
+ OCamlLangImpl*
-#. Advanced Topics
- #. `Writing an Optimization for
- LLVM <http://llvm.org/pubs/2004-09-22-LCPCLLVMTutorial.html>`_
+Advanced Topics
+===============
+#. `Writing an Optimization for LLVM <http://llvm.org/pubs/2004-09-22-LCPCLLVMTutorial.html>`_