Here is the code:
-.. literalinclude:: ../../../examples/Kaleidoscope/Chapter2/toy.cpp
+.. literalinclude:: ../../examples/Kaleidoscope/Chapter2/toy.cpp
:language: c++
`Next: Implementing Code Generation to LLVM IR <LangImpl03.html>`_
Here is the code:
-.. literalinclude:: ../../examples/Kaleidoscope/Chapter2/toy.cpp
+.. literalinclude:: ../../../examples/Kaleidoscope/Chapter2/toy.cpp
:language: c++
`Next: Implementing Code Generation to LLVM IR <LangImpl03.html>`_
Here is the code:
-.. literalinclude:: ../../examples/Kaleidoscope/Chapter3/toy.cpp
+.. literalinclude:: ../../../examples/Kaleidoscope/Chapter3/toy.cpp
:language: c++
`Next: Adding JIT and Optimizer Support <LangImpl04.html>`_
Here is the code:
-.. literalinclude:: ../../examples/Kaleidoscope/Chapter4/toy.cpp
+.. literalinclude:: ../../../examples/Kaleidoscope/Chapter4/toy.cpp
:language: c++
`Next: Extending the language: control flow <LangImpl05.html>`_
Here is the code:
-.. literalinclude:: ../../examples/Kaleidoscope/Chapter5/toy.cpp
+.. literalinclude:: ../../../examples/Kaleidoscope/Chapter5/toy.cpp
:language: c++
`Next: Extending the language: user-defined operators <LangImpl06.html>`_
Here is the code:
-.. literalinclude:: ../../examples/Kaleidoscope/Chapter6/toy.cpp
+.. literalinclude:: ../../../examples/Kaleidoscope/Chapter6/toy.cpp
:language: c++
`Next: Extending the language: mutable variables / SSA
Here is the code:
-.. literalinclude:: ../../examples/Kaleidoscope/Chapter7/toy.cpp
+.. literalinclude:: ../../../examples/Kaleidoscope/Chapter7/toy.cpp
:language: c++
`Next: Compiling to Object Code <LangImpl08.html>`_
Full Code Listing
=================
-.. literalinclude:: ../../examples/Kaleidoscope/Chapter8/toy.cpp
+.. literalinclude:: ../../../examples/Kaleidoscope/Chapter8/toy.cpp
:language: c++
`Next: Adding Debug Information <LangImpl09.html>`_
Here is the code:
-.. literalinclude:: ../../examples/Kaleidoscope/Chapter9/toy.cpp
+.. literalinclude:: ../../../examples/Kaleidoscope/Chapter9/toy.cpp
:language: c++
`Next: Conclusion and other useful LLVM tidbits <LangImpl10.html>`_