diff options
| author | Cliff Click <cliffc@acm.org> | 2026-09-22 11:25:05 -0700 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2026-09-22 11:25:05 -0700 |
| commit | 29fb671e69f90ad3b04c6fa8d746caf857f89e77 (patch) | |
| tree | 2f39d082f8a6de6a2b60b66406f8c9f0190d25c2 /chapter07/docs | |
| parent | 1d961838cff168a101069d08a8ab6594f49f0911 (diff) | |
| download | Simple-29fb671e69f90ad3b04c6fa8d746caf857f89e77.tar.gz Simple-29fb671e69f90ad3b04c6fa8d746caf857f89e77.zip | |
Add shared graph viewer to all chapters
Diffstat (limited to 'chapter07/docs')
| -rw-r--r-- | chapter07/docs/07-grammar.md | 4 | ||||
| -rw-r--r-- | chapter07/docs/07-graph1.gv | 2 | ||||
| -rw-r--r-- | chapter07/docs/07-graph2.gv | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/chapter07/docs/07-grammar.md b/chapter07/docs/07-grammar.md index 29a730b6..21c5ad0a 100644 --- a/chapter07/docs/07-grammar.md +++ b/chapter07/docs/07-grammar.md @@ -14,7 +14,6 @@ statement | expressionStatement | ifStatement | whileStatement - | metaStatement ; whileStatement @@ -25,9 +24,6 @@ ifStatement : 'if' '(' expression ')' statement ('else' statement)? ; -metaStatement - : '#showGraph' ';' - ; expressionStatement : IDENTIFIER '=' expression ';' diff --git a/chapter07/docs/07-graph1.gv b/chapter07/docs/07-graph1.gv index ba806a28..5957a931 100644 --- a/chapter07/docs/07-graph1.gv +++ b/chapter07/docs/07-graph1.gv @@ -2,7 +2,7 @@ digraph chapter07 { /* while(arg < 10) { arg = arg + 1; - #showGraph; + } return arg; diff --git a/chapter07/docs/07-graph2.gv b/chapter07/docs/07-graph2.gv index f4cfcb45..4ff5ff35 100644 --- a/chapter07/docs/07-graph2.gv +++ b/chapter07/docs/07-graph2.gv @@ -2,7 +2,7 @@ digraph chapter07 { /* while(arg < 10) { arg = arg + 1; - #showGraph; + } return arg; |
