mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-25 09:23:07 +00:00
Fix internal links in Kaleidoscope tutorial
This commit is contained in:
parent
e32f8ef927
commit
6bfd10ff80
@ -314,7 +314,7 @@ Now that we have all of our simple expression-parsing logic in place, we
|
||||
can define a helper function to wrap it together into one entry point.
|
||||
We call this class of expressions "primary" expressions, for reasons
|
||||
that will become more clear `later in the
|
||||
tutorial <LangImpl6.html#user-defined-unary-operators>`_. In order to parse an arbitrary
|
||||
tutorial <LangImpl06.html#user-defined-unary-operators>`_. In order to parse an arbitrary
|
||||
primary expression, we need to determine what sort of expression it is:
|
||||
|
||||
.. code-block:: c++
|
||||
|
@ -113,7 +113,7 @@ keywords:
|
||||
return tok_identifier;
|
||||
|
||||
This just adds lexer support for the unary and binary keywords, like we
|
||||
did in `previous chapters <LangImpl5.html#lexer-extensions-for-if-then-else>`_. One nice thing
|
||||
did in `previous chapters <LangImpl05.html#lexer-extensions-for-if-then-else>`_. One nice thing
|
||||
about our current AST, is that we represent binary operators with full
|
||||
generalisation by using their ASCII code as the opcode. For our extended
|
||||
operators, we'll use this same representation, so we don't need any new
|
||||
|
@ -399,7 +399,7 @@ the unabridged code):
|
||||
...
|
||||
|
||||
This code is virtually identical to the code `before we allowed mutable
|
||||
variables <LangImpl5.html#code-generation-for-the-for-loop>`_. The big difference is that we
|
||||
variables <LangImpl05.html#code-generation-for-the-for-loop>`_. The big difference is that we
|
||||
no longer have to construct a PHI node, and we use load/store to access
|
||||
the variable as needed.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user