Skip to content

Commit

Permalink
Signed-off-by: Dmitry Ponyatov <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
ponyatov committed Nov 18, 2019
1 parent d80a27f commit db1cf98
Showing 1 changed file with 79 additions and 79 deletions.
158 changes: 79 additions & 79 deletions pycat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7f95dc5ee5f8>"
"<graphviz.dot.Digraph at 0x7efd542e4c50>"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -330,7 +330,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7f95dc5ee6a0>"
"<graphviz.dot.Digraph at 0x7efd5433eb70>"
]
},
"execution_count": 4,
Expand Down Expand Up @@ -375,7 +375,7 @@
{
"data": {
"text/plain": [
"<__main__.Frame at 0x7f95dc166ef0>"
"<__main__.Frame at 0x7efd542bdd68>"
]
},
"execution_count": 6,
Expand Down Expand Up @@ -461,7 +461,7 @@
"output_type": "stream",
"text": [
"\n",
"prefix = <frame:Hello World> id:7f95dc5c9b70\n"
"prefix = <frame:Hello World> id:7efd54072fd0\n"
]
}
],
Expand Down Expand Up @@ -552,16 +552,16 @@
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 40)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-40 162.586,-40 162.586,4 -4,4\"/>\n",
"<!-- 140281619360400 -->\n",
"<g id=\"node1\" class=\"node\"><title>140281619360400</title>\n",
"<!-- 139626504143760 -->\n",
"<g id=\"node1\" class=\"node\"><title>139626504143760</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"79.293\" cy=\"-18\" rx=\"79.0865\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"79.293\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">frame:Hello World</text>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7f95dc172ba8>"
"<graphviz.dot.Digraph at 0x7efd5407da20>"
]
},
"execution_count": 10,
Expand Down Expand Up @@ -732,7 +732,7 @@
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7f95dc5ee6a0>"
"<graphviz.dot.Digraph at 0x7efd5433eb70>"
]
},
"execution_count": 12,
Expand Down Expand Up @@ -776,14 +776,14 @@
"output_type": "stream",
"text": [
"\n",
"<frame:Hello> id:7f95dc174f28\n",
"\tsome = <frame:attribute> id:7f95dc174ef0\n",
"\t\tframe = <frame:slot> id:7f95dc17e0b8\n",
"\tstring = <str:typecasted> id:7f95dc17e128\n",
"\tself = <frame:Hello> id:7f95dc174f28 _/\n",
"\t0: <frame:World> id:7f95dc174f98\n",
"\t1: <frame:Hello> id:7f95dc174f28 _/\n",
"\t2: <str:string> id:7f95dc17e048\n"
"<frame:Hello> id:7efd5407d198\n",
"\tstring = <str:typecasted> id:7efd540800f0\n",
"\tself = <frame:Hello> id:7efd5407d198 _/\n",
"\tsome = <frame:attribute> id:7efd54092ef0\n",
"\t\tframe = <frame:slot> id:7efd54080080\n",
"\t0: <frame:World> id:7efd54092f60\n",
"\t1: <frame:Hello> id:7efd5407d198 _/\n",
"\t2: <str:string> id:7efd54092fd0\n"
]
},
{
Expand All @@ -800,83 +800,83 @@
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 202)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-202 468.871,-202 468.871,4 -4,4\"/>\n",
"<!-- 140281619369768 -->\n",
"<g id=\"node1\" class=\"node\"><title>140281619369768</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"53.9452\" cy=\"-99\" rx=\"53.8905\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"53.9452\" y=\"-95.3\" font-family=\"Times,serif\" font-size=\"14.00\">frame:Hello</text>\n",
"</g>\n",
"<!-- 140281619369768&#45;&gt;140281619369768 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>140281619369768&#45;&gt;140281619369768</title>\n",
"<path fill=\"none\" stroke=\"blue\" d=\"M46.1662,-117.153C44.9694,-126.539 47.5624,-135 53.9452,-135 57.8347,-135 60.317,-131.858 61.3919,-127.28\"/>\n",
"<polygon fill=\"blue\" stroke=\"blue\" points=\"64.8943,-127.262 61.7243,-117.153 57.898,-127.032 64.8943,-127.262\"/>\n",
"<text text-anchor=\"middle\" x=\"53.9452\" y=\"-138.8\" font-family=\"Times,serif\" font-size=\"14.00\">self</text>\n",
"</g>\n",
"<!-- 140281619369768&#45;&gt;140281619369768 -->\n",
"<g id=\"edge6\" class=\"edge\"><title>140281619369768&#45;&gt;140281619369768</title>\n",
"<path fill=\"none\" stroke=\"green\" d=\"M41.131,-116.699C34.0527,-133.996 38.3241,-153 53.9452,-153 66.6374,-153 71.8369,-140.454 69.5439,-126.472\"/>\n",
"<polygon fill=\"green\" stroke=\"green\" points=\"72.8656,-125.357 66.7594,-116.699 66.1336,-127.275 72.8656,-125.357\"/>\n",
"<text text-anchor=\"middle\" x=\"53.9452\" y=\"-156.8\" font-family=\"Times,serif\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- 140281619369712 -->\n",
"<g id=\"node2\" class=\"node\"><title>140281619369712</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"238.585\" cy=\"-180\" rx=\"63.8893\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"238.585\" y=\"-176.3\" font-family=\"Times,serif\" font-size=\"14.00\">frame:attribute</text>\n",
"</g>\n",
"<!-- 140281619369768&#45;&gt;140281619369712 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>140281619369768&#45;&gt;140281619369712</title>\n",
"<path fill=\"none\" stroke=\"blue\" d=\"M84.4178,-114.096C97.0889,-120.441 112.124,-127.778 125.89,-134 147.172,-143.619 171.075,-153.574 191.291,-161.752\"/>\n",
"<polygon fill=\"blue\" stroke=\"blue\" points=\"190.01,-165.009 200.593,-165.496 192.623,-158.516 190.01,-165.009\"/>\n",
"<text text-anchor=\"middle\" x=\"141.39\" y=\"-151.8\" font-family=\"Times,serif\" font-size=\"14.00\">some</text>\n",
"</g>\n",
"<!-- 140281619407144 -->\n",
"<g id=\"node4\" class=\"node\"><title>140281619407144</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"238.585\" cy=\"-126\" rx=\"59.2899\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"238.585\" y=\"-122.3\" font-family=\"Times,serif\" font-size=\"14.00\">str:typecasted</text>\n",
"</g>\n",
"<!-- 140281619369768&#45;&gt;140281619407144 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>140281619369768&#45;&gt;140281619407144</title>\n",
"<path fill=\"none\" stroke=\"blue\" d=\"M103.889,-106.236C125.704,-109.46 151.663,-113.298 174.878,-116.73\"/>\n",
"<polygon fill=\"blue\" stroke=\"blue\" points=\"174.577,-120.223 184.982,-118.224 175.601,-113.299 174.577,-120.223\"/>\n",
"<text text-anchor=\"middle\" x=\"141.39\" y=\"-118.8\" font-family=\"Times,serif\" font-size=\"14.00\">string</text>\n",
"</g>\n",
"<!-- 140281619369880 -->\n",
"<g id=\"node5\" class=\"node\"><title>140281619369880</title>\n",
"<!-- 139626501624216 -->\n",
"<g id=\"node1\" class=\"node\"><title>139626501624216</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"53.9452\" cy=\"-95\" rx=\"53.8905\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"53.9452\" y=\"-91.3\" font-family=\"Times,serif\" font-size=\"14.00\">frame:Hello</text>\n",
"</g>\n",
"<!-- 139626501624216&#45;&gt;139626501624216 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>139626501624216&#45;&gt;139626501624216</title>\n",
"<path fill=\"none\" stroke=\"blue\" d=\"M46.1662,-113.153C44.9694,-122.539 47.5624,-131 53.9452,-131 57.8347,-131 60.317,-127.858 61.3919,-123.28\"/>\n",
"<polygon fill=\"blue\" stroke=\"blue\" points=\"64.8943,-123.262 61.7243,-113.153 57.898,-123.032 64.8943,-123.262\"/>\n",
"<text text-anchor=\"middle\" x=\"53.9452\" y=\"-134.8\" font-family=\"Times,serif\" font-size=\"14.00\">self</text>\n",
"</g>\n",
"<!-- 139626501624216&#45;&gt;139626501624216 -->\n",
"<g id=\"edge6\" class=\"edge\"><title>139626501624216&#45;&gt;139626501624216</title>\n",
"<path fill=\"none\" stroke=\"green\" d=\"M41.131,-112.699C34.0527,-129.996 38.3241,-149 53.9452,-149 66.6374,-149 71.8369,-136.454 69.5439,-122.472\"/>\n",
"<polygon fill=\"green\" stroke=\"green\" points=\"72.8656,-121.357 66.7594,-112.699 66.1336,-123.275 72.8656,-121.357\"/>\n",
"<text text-anchor=\"middle\" x=\"53.9452\" y=\"-152.8\" font-family=\"Times,serif\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- 139626501636336 -->\n",
"<g id=\"node2\" class=\"node\"><title>139626501636336</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"238.585\" cy=\"-180\" rx=\"59.2899\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"238.585\" y=\"-176.3\" font-family=\"Times,serif\" font-size=\"14.00\">str:typecasted</text>\n",
"</g>\n",
"<!-- 139626501624216&#45;&gt;139626501636336 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>139626501624216&#45;&gt;139626501636336</title>\n",
"<path fill=\"none\" stroke=\"blue\" d=\"M83.01,-110.253C95.9517,-117.127 111.585,-125.208 125.89,-132 147.617,-142.316 172.132,-152.959 192.649,-161.594\"/>\n",
"<polygon fill=\"blue\" stroke=\"blue\" points=\"191.493,-164.904 202.069,-165.536 194.195,-158.446 191.493,-164.904\"/>\n",
"<text text-anchor=\"middle\" x=\"141.39\" y=\"-148.8\" font-family=\"Times,serif\" font-size=\"14.00\">string</text>\n",
"</g>\n",
"<!-- 139626501713648 -->\n",
"<g id=\"node3\" class=\"node\"><title>139626501713648</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"238.585\" cy=\"-126\" rx=\"63.8893\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"238.585\" y=\"-122.3\" font-family=\"Times,serif\" font-size=\"14.00\">frame:attribute</text>\n",
"</g>\n",
"<!-- 139626501624216&#45;&gt;139626501713648 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>139626501624216&#45;&gt;139626501713648</title>\n",
"<path fill=\"none\" stroke=\"blue\" d=\"M102.455,-103.064C124.091,-106.736 150.027,-111.139 173.367,-115.1\"/>\n",
"<polygon fill=\"blue\" stroke=\"blue\" points=\"173.09,-118.603 183.535,-116.826 174.262,-111.702 173.09,-118.603\"/>\n",
"<text text-anchor=\"middle\" x=\"141.39\" y=\"-116.8\" font-family=\"Times,serif\" font-size=\"14.00\">some</text>\n",
"</g>\n",
"<!-- 139626501713760 -->\n",
"<g id=\"node5\" class=\"node\"><title>139626501713760</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"238.585\" cy=\"-72\" rx=\"57.3905\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"238.585\" y=\"-68.3\" font-family=\"Times,serif\" font-size=\"14.00\">frame:World</text>\n",
"</g>\n",
"<!-- 140281619369768&#45;&gt;140281619369880 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>140281619369768&#45;&gt;140281619369880</title>\n",
"<path fill=\"none\" stroke=\"green\" d=\"M103.889,-91.7645C126.264,-88.4568 152.999,-84.5045 176.661,-81.0065\"/>\n",
"<polygon fill=\"green\" stroke=\"green\" points=\"177.211,-84.4633 186.592,-79.5384 176.188,-77.5385 177.211,-84.4633\"/>\n",
"<text text-anchor=\"middle\" x=\"141.39\" y=\"-91.8\" font-family=\"Times,serif\" font-size=\"14.00\">0</text>\n",
"<!-- 139626501624216&#45;&gt;139626501713760 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>139626501624216&#45;&gt;139626501713760</title>\n",
"<path fill=\"none\" stroke=\"green\" d=\"M99.8511,-85.3334C108.465,-83.7079 117.434,-82.1711 125.89,-81 140.686,-78.9509 156.655,-77.3213 171.761,-76.044\"/>\n",
"<polygon fill=\"green\" stroke=\"green\" points=\"172.369,-79.5064 182.056,-75.2151 171.808,-72.529 172.369,-79.5064\"/>\n",
"<text text-anchor=\"middle\" x=\"141.39\" y=\"-84.8\" font-family=\"Times,serif\" font-size=\"14.00\">0</text>\n",
"</g>\n",
"<!-- 140281619406920 -->\n",
"<g id=\"node6\" class=\"node\"><title>140281619406920</title>\n",
"<!-- 139626501713872 -->\n",
"<g id=\"node6\" class=\"node\"><title>139626501713872</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"238.585\" cy=\"-18\" rx=\"42.4939\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"238.585\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">str:string</text>\n",
"</g>\n",
"<!-- 140281619369768&#45;&gt;140281619406920 -->\n",
"<g id=\"edge7\" class=\"edge\"><title>140281619369768&#45;&gt;140281619406920</title>\n",
"<path fill=\"none\" stroke=\"green\" d=\"M85.1747,-84.1142C97.7084,-78.0464 112.437,-71.0499 125.89,-65 149.518,-54.3748 176.259,-43.0966 197.65,-34.2521\"/>\n",
"<polygon fill=\"green\" stroke=\"green\" points=\"199.159,-37.4159 207.072,-30.3708 196.493,-30.9436 199.159,-37.4159\"/>\n",
"<text text-anchor=\"middle\" x=\"141.39\" y=\"-68.8\" font-family=\"Times,serif\" font-size=\"14.00\">2</text>\n",
"<!-- 139626501624216&#45;&gt;139626501713872 -->\n",
"<g id=\"edge7\" class=\"edge\"><title>139626501624216&#45;&gt;139626501713872</title>\n",
"<path fill=\"none\" stroke=\"green\" d=\"M83.2298,-79.6833C96.081,-72.9756 111.581,-65.2311 125.89,-59 148.289,-49.2464 173.832,-39.7541 194.832,-32.3634\"/>\n",
"<polygon fill=\"green\" stroke=\"green\" points=\"196.145,-35.6123 204.437,-29.0174 193.843,-29.0019 196.145,-35.6123\"/>\n",
"<text text-anchor=\"middle\" x=\"141.39\" y=\"-62.8\" font-family=\"Times,serif\" font-size=\"14.00\">2</text>\n",
"</g>\n",
"<!-- 140281619407032 -->\n",
"<g id=\"node3\" class=\"node\"><title>140281619407032</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"418.075\" cy=\"-180\" rx=\"46.5926\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"418.075\" y=\"-176.3\" font-family=\"Times,serif\" font-size=\"14.00\">frame:slot</text>\n",
"<!-- 139626501636224 -->\n",
"<g id=\"node4\" class=\"node\"><title>139626501636224</title>\n",
"<ellipse fill=\"none\" stroke=\"black\" cx=\"418.075\" cy=\"-126\" rx=\"46.5926\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"418.075\" y=\"-122.3\" font-family=\"Times,serif\" font-size=\"14.00\">frame:slot</text>\n",
"</g>\n",
"<!-- 140281619369712&#45;&gt;140281619407032 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>140281619369712&#45;&gt;140281619407032</title>\n",
"<path fill=\"none\" stroke=\"blue\" d=\"M302.661,-180C321.745,-180 342.562,-180 361.145,-180\"/>\n",
"<polygon fill=\"blue\" stroke=\"blue\" points=\"361.214,-183.5 371.214,-180 361.214,-176.5 361.214,-183.5\"/>\n",
"<text text-anchor=\"middle\" x=\"336.779\" y=\"-183.8\" font-family=\"Times,serif\" font-size=\"14.00\">frame</text>\n",
"<!-- 139626501713648&#45;&gt;139626501636224 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>139626501713648&#45;&gt;139626501636224</title>\n",
"<path fill=\"none\" stroke=\"blue\" d=\"M302.661,-126C321.745,-126 342.562,-126 361.145,-126\"/>\n",
"<polygon fill=\"blue\" stroke=\"blue\" points=\"361.214,-129.5 371.214,-126 361.214,-122.5 361.214,-129.5\"/>\n",
"<text text-anchor=\"middle\" x=\"336.779\" y=\"-129.8\" font-family=\"Times,serif\" font-size=\"14.00\">frame</text>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7f95dc17e208>"
"<graphviz.dot.Digraph at 0x7efd540801d0>"
]
},
"execution_count": 14,
Expand Down

0 comments on commit db1cf98

Please sign in to comment.