summaryrefslogtreecommitdiffstats
path: root/figs
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2017-01-02 23:30:54 +0100
committerDavid A. Madore <david+git@madore.org>2017-01-02 23:30:54 +0100
commit1d22c7afda86d4b7e8ecc6188e565a7efe9acbcd (patch)
tree6be03fbe688b516bfc8fc69c4b35c654b3b2575d /figs
parent250b26a45655b27c33f30fcfebbb3633b7efac58 (diff)
downloadinf105-1d22c7afda86d4b7e8ecc6188e565a7efe9acbcd.tar.gz
inf105-1d22c7afda86d4b7e8ecc6188e565a7efe9acbcd.tar.bz2
inf105-1d22c7afda86d4b7e8ecc6188e565a7efe9acbcd.zip
Start discussing parse trees.
Diffstat (limited to 'figs')
-rw-r--r--figs/parsetree1.dot44
1 files changed, 44 insertions, 0 deletions
diff --git a/figs/parsetree1.dot b/figs/parsetree1.dot
new file mode 100644
index 0000000..cfa9001
--- /dev/null
+++ b/figs/parsetree1.dot
@@ -0,0 +1,44 @@
+graph parsetree1 {
+ node [texmode="math",shape="none"];
+ S0 [label="S"];
+ T0 [label="T"];
+ S1 [label="S"];
+ a0 [label="a"];
+ S2 [label="S"];
+ b0 [label="b"];
+ T1 [label="T"];
+ S3 [label="S"];
+ T2 [label="T"];
+ S4 [label="S"];
+ spacer [label="",style="invisible"];
+ a1 [label="a"];
+ S5 [label="S"];
+ b1 [label="b"];
+ e0 [label="e",texlbl="$\varepsilon$"];
+ a2 [label="a"];
+ S6 [label="S"];
+ b2 [label="b"];
+ e1 [label="e",texlbl="$\varepsilon$"];
+ e2 [label="e",texlbl="$\varepsilon$"];
+ e3 [label="e",texlbl="$\varepsilon$"];
+ S0 -- T0;
+ S0 -- S1;
+ T0 -- a0;
+ T0 -- S2;
+ T0 -- b0;
+ S1 -- T1;
+ S1 -- S3;
+ S2 -- T2;
+ S2 -- S4;
+ b0 -- spacer [style="invisible"];
+ T1 -- a1;
+ T1 -- S5;
+ T1 -- b1;
+ S3 -- e0;
+ T2 -- a2;
+ T2 -- S6;
+ T2 -- b2;
+ S4 -- e1;
+ S5 -- e2;
+ S6 -- e3;
+}