From 6636079699775b56a2fd9913f340a9d6d4878638 Mon Sep 17 00:00:00 2001 From: godalming123 <68993177+godalming123@users.noreply.github.com> Date: Sat, 29 Mar 2025 16:41:06 +0000 Subject: Fix some formatting (#184) * Fix title in chapter 19 * Wrap nseted scope images onto newlines in chapter 3 --- chapter03/README.md | 8 +++++--- 1 file 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. -- cgit v1.2.3