summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgodalming123 <68993177+godalming123@users.noreply.github.com>2025-03-29 16:41:06 +0000
committerGitHub <noreply@github.com>2025-03-29 09:41:06 -0700
commit6636079699775b56a2fd9913f340a9d6d4878638 (patch)
tree9baa7bed15059565713376f56fdde37a5b8bc1b3
parent6265a241492b611a14675e8b5610764094bffcbe (diff)
downloadSimple-6636079699775b56a2fd9913f340a9d6d4878638.tar.gz
Simple-6636079699775b56a2fd9913f340a9d6d4878638.zip
Fix some formatting (#184)
* Fix title in chapter 19 * Wrap nseted scope images onto newlines in chapter 3
-rw-r--r--chapter03/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/chapter03/README.md b/chapter03/README.md
index 35075e7e..ddb9fafa 100644
--- a/chapter03/README.md
+++ b/chapter03/README.md
@@ -167,10 +167,12 @@ scope and deeper indices representing more nested scopes.
Popping returns the current scope and moves to the outer one.
There is a direct one-to-one mapping between each index and its corresponding scope.
-The first nested scope(04-08)
+The first nested scope(04-08):
+
![Graph4](./docs/03-graph4.svg)
-The second nested scope(09-13)
+The second nested scope(09-13):
+
![Graph5](./docs/03-graph5.svg)
- In both cases the index which represents the deepness of the scope is 1.
@@ -192,4 +194,4 @@ The graph for above, is displayed below.
![Graph2](./docs/03-graph3.svg)
The return node has the constant `8` as its data value! When the parsing ends
-and the scope at level 0 is removed, only the `return 8` remains. \ No newline at end of file
+and the scope at level 0 is removed, only the `return 8` remains.