Update READEME.md with current status, grammar etc. (#102)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
57
docs/diagram/Railroad-Diagram-Generator.svg
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<g transform="scale(0.178)">
|
||||
<circle cx="45" cy="45" r="45" style="stroke:none; fill:#FFCC00"/>
|
||||
<circle cx="45"
|
||||
cy="45"
|
||||
r="42"
|
||||
style="stroke:#332900; stroke-width:2px; fill:#FFCC00"/>
|
||||
<line x1="15"
|
||||
y1="15"
|
||||
x2="75"
|
||||
y2="75"
|
||||
stroke="#332900"
|
||||
style="stroke-width:9px;"/>
|
||||
<line x1="15"
|
||||
y1="75"
|
||||
x2="75"
|
||||
y2="15"
|
||||
stroke="#332900"
|
||||
style="stroke-width:9px;"/>
|
||||
<text x="7"
|
||||
y="54"
|
||||
style="font-size:26px; font-family:Arial, Sans-serif; font-weight:bold; fill: #332900">R</text>
|
||||
<text x="64"
|
||||
y="54"
|
||||
style="font-size:26px; font-family:Arial, Sans-serif; font-weight:bold; fill: #332900">R</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
52
docs/diagram/alternatives.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="199" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#query-blocks"
|
||||
xlink:title="query-blocks">
|
||||
<rect x="51" y="3" width="100" height="32"/>
|
||||
<rect x="49" y="1" width="100" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">query-blocks</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#else-blocks"
|
||||
xlink:title="else-blocks">
|
||||
<rect x="51" y="47" width="90" height="32"/>
|
||||
<rect x="49" y="45" width="90" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">else-blocks</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m100 0 h10 m-140 0 h20 m120 0 h20 m-160 0 q10 0 10 10 m140 0 q0 -10 10 -10 m-150 10 v24 m140 0 v-24 m-140 24 q0 10 10 10 m120 0 q10 0 10 -10 m-130 10 h10 m90 0 h10 m0 0 h10 m23 -44 h-3"/>
|
||||
<polygon points="189 17 197 13 197 21"/>
|
||||
<polygon points="189 17 181 13 181 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
53
docs/diagram/and-expr.svg
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="181" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#arith-expr"
|
||||
xlink:title="arith-expr">
|
||||
<rect x="51" y="47" width="82" height="32"/>
|
||||
<rect x="49" y="45" width="82" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">arith-expr</text>
|
||||
</a>
|
||||
<rect x="51" y="3" width="30" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="30"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">&</text>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m20 0 h10 m82 0 h10 m-122 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m102 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-102 0 h10 m30 0 h10 m0 0 h52 m23 44 h-3"/>
|
||||
<polygon points="171 61 179 57 179 65"/>
|
||||
<polygon points="171 61 163 57 163 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
61
docs/diagram/arith-expr.svg
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="199" height="125">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 105 1 101 1 109"/>
|
||||
<polygon points="17 105 9 101 9 109"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#mul-div-expr"
|
||||
xlink:title="mul-div-expr">
|
||||
<rect x="51" y="91" width="100" height="32"/>
|
||||
<rect x="49" y="89" width="100" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="109">mul-div-expr</text>
|
||||
</a>
|
||||
<rect x="51" y="47" width="30" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="45"
|
||||
width="30"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="65">+</text>
|
||||
<rect x="51" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">-</text>
|
||||
<path class="line"
|
||||
d="m17 105 h2 m20 0 h10 m100 0 h10 m-140 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m120 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-120 0 h10 m30 0 h10 m0 0 h70 m-130 10 l0 -44 q0 -10 10 -10 m130 54 l0 -44 q0 -10 -10 -10 m-120 0 h10 m26 0 h10 m0 0 h74 m23 88 h-3"/>
|
||||
<polygon points="189 105 197 101 197 109"/>
|
||||
<polygon points="189 105 181 101 181 109"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
61
docs/diagram/array-compr.svg
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="209" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">[</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#compr"
|
||||
xlink:title="compr">
|
||||
<rect x="77" y="3" width="58" height="32"/>
|
||||
<rect x="75" y="1" width="58" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="85" y="21">compr</text>
|
||||
</a>
|
||||
<rect x="155" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="153"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="163" y="21">]</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m26 0 h10 m0 0 h10 m58 0 h10 m0 0 h10 m26 0 h10 m3 0 h-3"/>
|
||||
<polygon points="199 17 207 13 207 21"/>
|
||||
<polygon points="199 17 191 13 191 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
77
docs/diagram/array.svg
Normal file
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="379" height="129">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<rect x="31" y="47" width="26" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="45"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="65">[</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#in-expr"
|
||||
xlink:title="in-expr">
|
||||
<rect x="117" y="47" width="64" height="32"/>
|
||||
<rect x="115" y="45" width="64" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="125" y="65">in-expr</text>
|
||||
</a>
|
||||
<rect x="117" y="3" width="24" height="32" rx="10"/>
|
||||
<rect x="115"
|
||||
y="1"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="125" y="21">,</text>
|
||||
<rect x="241" y="79" width="24" height="32" rx="10"/>
|
||||
<rect x="239"
|
||||
y="77"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="249" y="97">,</text>
|
||||
<rect x="325" y="47" width="26" height="32" rx="10"/>
|
||||
<rect x="323"
|
||||
y="45"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="333" y="65">]</text>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m0 0 h10 m26 0 h10 m40 0 h10 m64 0 h10 m-104 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m84 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-84 0 h10 m24 0 h10 m0 0 h40 m40 44 h10 m0 0 h34 m-64 0 h20 m44 0 h20 m-84 0 q10 0 10 10 m64 0 q0 -10 10 -10 m-74 10 v12 m64 0 v-12 m-64 12 q0 10 10 10 m44 0 q10 0 10 -10 m-54 10 h10 m24 0 h10 m-208 -32 h20 m208 0 h20 m-248 0 q10 0 10 10 m228 0 q0 -10 10 -10 m-238 10 v46 m228 0 v-46 m-228 46 q0 10 10 10 m208 0 q10 0 10 -10 m-218 10 h10 m0 0 h198 m20 -66 h10 m26 0 h10 m3 0 h-3"/>
|
||||
<polygon points="369 61 377 57 377 65"/>
|
||||
<polygon points="369 61 361 57 361 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
59
docs/diagram/assign-expr.svg
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="349" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#ref"
|
||||
xlink:title="ref">
|
||||
<rect x="31" y="3" width="36" height="32"/>
|
||||
<rect x="29" y="1" width="36" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">ref</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#assign-op"
|
||||
xlink:title="assign-op">
|
||||
<rect x="87" y="3" width="82" height="32"/>
|
||||
<rect x="85" y="1" width="82" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="95" y="21">assign-op</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#membership-expr"
|
||||
xlink:title="membership-expr">
|
||||
<rect x="189" y="3" width="132" height="32"/>
|
||||
<rect x="187" y="1" width="132" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="197" y="21">membership-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m36 0 h10 m0 0 h10 m82 0 h10 m0 0 h10 m132 0 h10 m3 0 h-3"/>
|
||||
<polygon points="339 17 347 13 347 21"/>
|
||||
<polygon points="339 17 331 13 331 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
54
docs/diagram/assign-op.svg
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="133" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="51" y="3" width="30" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="30"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">=</text>
|
||||
<rect x="51" y="47" width="34" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="45"
|
||||
width="34"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="65">:=</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m30 0 h10 m0 0 h4 m-74 0 h20 m54 0 h20 m-94 0 q10 0 10 10 m74 0 q0 -10 10 -10 m-84 10 v24 m74 0 v-24 m-74 24 q0 10 10 10 m54 0 q10 0 10 -10 m-64 10 h10 m34 0 h10 m23 -44 h-3"/>
|
||||
<polygon points="123 17 131 13 131 21"/>
|
||||
<polygon points="123 17 115 13 115 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
52
docs/diagram/bool-expr.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="167" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#or-expr"
|
||||
xlink:title="or-expr">
|
||||
<rect x="51" y="47" width="66" height="32"/>
|
||||
<rect x="49" y="45" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">or-expr</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#bool-op"
|
||||
xlink:title="bool-op">
|
||||
<rect x="51" y="3" width="68" height="32"/>
|
||||
<rect x="49" y="1" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">bool-op</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m20 0 h10 m66 0 h10 m0 0 h2 m-108 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m88 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-88 0 h10 m68 0 h10 m23 44 h-3"/>
|
||||
<polygon points="157 61 165 57 165 65"/>
|
||||
<polygon points="157 61 149 57 149 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
86
docs/diagram/bool-op.svg
Normal file
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="139" height="257">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="51" y="3" width="30" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="30"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21"><</text>
|
||||
<rect x="51" y="47" width="40" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="45"
|
||||
width="40"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="65"><=</text>
|
||||
<rect x="51" y="91" width="40" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="89"
|
||||
width="40"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="109">==</text>
|
||||
<rect x="51" y="135" width="40" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="133"
|
||||
width="40"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="153">>=</text>
|
||||
<rect x="51" y="179" width="30" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="177"
|
||||
width="30"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="197">></text>
|
||||
<rect x="51" y="223" width="34" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="221"
|
||||
width="34"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="241">!=</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m30 0 h10 m0 0 h10 m-80 0 h20 m60 0 h20 m-100 0 q10 0 10 10 m80 0 q0 -10 10 -10 m-90 10 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m30 0 h10 m0 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m34 0 h10 m0 0 h6 m23 -220 h-3"/>
|
||||
<polygon points="129 17 137 13 137 21"/>
|
||||
<polygon points="129 17 121 13 121 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.7 KiB |
53
docs/diagram/call-args.svg
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="163" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#in-expr"
|
||||
xlink:title="in-expr">
|
||||
<rect x="51" y="47" width="64" height="32"/>
|
||||
<rect x="49" y="45" width="64" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">in-expr</text>
|
||||
</a>
|
||||
<rect x="51" y="3" width="24" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">,</text>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m20 0 h10 m64 0 h10 m-104 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m84 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-84 0 h10 m24 0 h10 m0 0 h40 m23 44 h-3"/>
|
||||
<polygon points="153 61 161 57 161 65"/>
|
||||
<polygon points="153 61 145 57 145 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
83
docs/diagram/call-expr.svg
Normal file
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="489" height="69">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#path-ref"
|
||||
xlink:title="path-ref">
|
||||
<rect x="31" y="3" width="72" height="32"/>
|
||||
<rect x="29" y="1" width="72" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">path-ref</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="123" y="3" width="68" height="32"/>
|
||||
<rect x="121" y="1" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="131" y="21">NO_WS</text>
|
||||
</a>
|
||||
<rect x="211" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="209"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="219" y="21">(</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#call-args"
|
||||
xlink:title="call-args">
|
||||
<rect x="257" y="3" width="74" height="32"/>
|
||||
<rect x="255" y="1" width="74" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="265" y="21">call-args</text>
|
||||
</a>
|
||||
<rect x="371" y="35" width="24" height="32" rx="10"/>
|
||||
<rect x="369"
|
||||
y="33"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="379" y="53">,</text>
|
||||
<rect x="435" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="433"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="443" y="21">)</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m72 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m74 0 h10 m20 0 h10 m0 0 h34 m-64 0 h20 m44 0 h20 m-84 0 q10 0 10 10 m64 0 q0 -10 10 -10 m-74 10 v12 m64 0 v-12 m-64 12 q0 10 10 10 m44 0 q10 0 10 -10 m-54 10 h10 m24 0 h10 m20 -32 h10 m26 0 h10 m3 0 h-3"/>
|
||||
<polygon points="479 17 487 13 487 21"/>
|
||||
<polygon points="479 17 471 13 471 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
52
docs/diagram/compr-or-array.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="197" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#array-compr"
|
||||
xlink:title="array-compr">
|
||||
<rect x="51" y="3" width="98" height="32"/>
|
||||
<rect x="49" y="1" width="98" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">array-compr</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#array"
|
||||
xlink:title="array">
|
||||
<rect x="51" y="47" width="52" height="32"/>
|
||||
<rect x="49" y="45" width="52" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">array</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m98 0 h10 m-138 0 h20 m118 0 h20 m-158 0 q10 0 10 10 m138 0 q0 -10 10 -10 m-148 10 v24 m138 0 v-24 m-138 24 q0 10 10 10 m118 0 q10 0 10 -10 m-128 10 h10 m52 0 h10 m0 0 h46 m23 -44 h-3"/>
|
||||
<polygon points="187 17 195 13 195 21"/>
|
||||
<polygon points="187 17 179 13 179 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
52
docs/diagram/compr-rule.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="275" height="69">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-ref"
|
||||
xlink:title="rule-ref">
|
||||
<rect x="31" y="3" width="66" height="32"/>
|
||||
<rect x="29" y="1" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">rule-ref</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-assign"
|
||||
xlink:title="rule-assign">
|
||||
<rect x="137" y="35" width="90" height="32"/>
|
||||
<rect x="135" y="33" width="90" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="145" y="53">rule-assign</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m66 0 h10 m20 0 h10 m0 0 h100 m-130 0 h20 m110 0 h20 m-150 0 q10 0 10 10 m130 0 q0 -10 10 -10 m-140 10 v12 m130 0 v-12 m-130 12 q0 10 10 10 m110 0 q10 0 10 -10 m-120 10 h10 m90 0 h10 m23 -32 h-3"/>
|
||||
<polygon points="265 17 273 13 273 21"/>
|
||||
<polygon points="265 17 257 13 257 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
66
docs/diagram/compr-set-or-object.svg
Normal file
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="203" height="169">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#set-compr"
|
||||
xlink:title="set-compr">
|
||||
<rect x="51" y="3" width="84" height="32"/>
|
||||
<rect x="49" y="1" width="84" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">set-compr</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#set"
|
||||
xlink:title="set">
|
||||
<rect x="51" y="47" width="40" height="32"/>
|
||||
<rect x="49" y="45" width="40" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">set</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#object-compr"
|
||||
xlink:title="object-compr">
|
||||
<rect x="51" y="91" width="104" height="32"/>
|
||||
<rect x="49" y="89" width="104" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="109">object-compr</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#object"
|
||||
xlink:title="object">
|
||||
<rect x="51" y="135" width="58" height="32"/>
|
||||
<rect x="49" y="133" width="58" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="153">object</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m84 0 h10 m0 0 h20 m-144 0 h20 m124 0 h20 m-164 0 q10 0 10 10 m144 0 q0 -10 10 -10 m-154 10 v24 m144 0 v-24 m-144 24 q0 10 10 10 m124 0 q10 0 10 -10 m-134 10 h10 m40 0 h10 m0 0 h64 m-134 -10 v20 m144 0 v-20 m-144 20 v24 m144 0 v-24 m-144 24 q0 10 10 10 m124 0 q10 0 10 -10 m-134 10 h10 m104 0 h10 m-134 -10 v20 m144 0 v-20 m-144 20 v24 m144 0 v-24 m-144 24 q0 10 10 10 m124 0 q10 0 10 -10 m-134 10 h10 m58 0 h10 m0 0 h46 m23 -132 h-3"/>
|
||||
<polygon points="193 17 201 13 201 21"/>
|
||||
<polygon points="193 17 185 13 185 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
60
docs/diagram/compr.svg
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="217" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#ref"
|
||||
xlink:title="ref">
|
||||
<rect x="31" y="3" width="36" height="32"/>
|
||||
<rect x="29" y="1" width="36" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">ref</text>
|
||||
</a>
|
||||
<rect x="87" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="85"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="95" y="21">|</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#query"
|
||||
xlink:title="query">
|
||||
<rect x="133" y="3" width="56" height="32"/>
|
||||
<rect x="131" y="1" width="56" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="141" y="21">query</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m36 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m56 0 h10 m3 0 h-3"/>
|
||||
<polygon points="207 17 215 13 215 21"/>
|
||||
<polygon points="207 17 199 13 199 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
60
docs/diagram/contains-rule.svg
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="307" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-ref"
|
||||
xlink:title="rule-ref">
|
||||
<rect x="31" y="3" width="66" height="32"/>
|
||||
<rect x="29" y="1" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">rule-ref</text>
|
||||
</a>
|
||||
<rect x="117" y="3" width="76" height="32" rx="10"/>
|
||||
<rect x="115"
|
||||
y="1"
|
||||
width="76"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="125" y="21">contains</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#or-expr"
|
||||
xlink:title="or-expr">
|
||||
<rect x="213" y="3" width="66" height="32"/>
|
||||
<rect x="211" y="1" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="221" y="21">or-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m66 0 h10 m0 0 h10 m76 0 h10 m0 0 h10 m66 0 h10 m3 0 h-3"/>
|
||||
<polygon points="297 17 305 13 305 21"/>
|
||||
<polygon points="297 17 289 13 289 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
67
docs/diagram/default-rule.svg
Normal file
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="385" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="68" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="68"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">default</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-ref"
|
||||
xlink:title="rule-ref">
|
||||
<rect x="119" y="3" width="66" height="32"/>
|
||||
<rect x="117" y="1" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="127" y="21">rule-ref</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#assign-op"
|
||||
xlink:title="assign-op">
|
||||
<rect x="205" y="3" width="82" height="32"/>
|
||||
<rect x="203" y="1" width="82" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="213" y="21">assign-op</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#term"
|
||||
xlink:title="term">
|
||||
<rect x="307" y="3" width="50" height="32"/>
|
||||
<rect x="305" y="1" width="50" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="315" y="21">term</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m68 0 h10 m0 0 h10 m66 0 h10 m0 0 h10 m82 0 h10 m0 0 h10 m50 0 h10 m3 0 h-3"/>
|
||||
<polygon points="375 17 383 13 383 21"/>
|
||||
<polygon points="375 17 367 13 367 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
114
docs/diagram/else-block.svg
Normal file
@@ -0,0 +1,114 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="555" height="125">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="46" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="46"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">else</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-assign"
|
||||
xlink:title="rule-assign">
|
||||
<rect x="117" y="35" width="90" height="32"/>
|
||||
<rect x="115" y="33" width="90" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="125" y="53">rule-assign</text>
|
||||
</a>
|
||||
<rect x="267" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="265"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="275" y="21">if</text>
|
||||
<rect x="335" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="333"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="343" y="21">{</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#query"
|
||||
xlink:title="query">
|
||||
<rect x="383" y="3" width="56" height="32"/>
|
||||
<rect x="381" y="1" width="56" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="391" y="21">query</text>
|
||||
</a>
|
||||
<rect x="459" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="457"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="467" y="21">}</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#literal-stmt"
|
||||
xlink:title="literal-stmt">
|
||||
<rect x="335" y="47" width="90" height="32"/>
|
||||
<rect x="333" y="45" width="90" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="343" y="65">literal-stmt</text>
|
||||
</a>
|
||||
<rect x="267" y="91" width="28" height="32" rx="10"/>
|
||||
<rect x="265"
|
||||
y="89"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="275" y="109">{</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#query"
|
||||
xlink:title="query">
|
||||
<rect x="315" y="91" width="56" height="32"/>
|
||||
<rect x="313" y="89" width="56" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="323" y="109">query</text>
|
||||
</a>
|
||||
<rect x="391" y="91" width="28" height="32" rx="10"/>
|
||||
<rect x="389"
|
||||
y="89"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="399" y="109">}</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m46 0 h10 m20 0 h10 m0 0 h100 m-130 0 h20 m110 0 h20 m-150 0 q10 0 10 10 m130 0 q0 -10 10 -10 m-140 10 v12 m130 0 v-12 m-130 12 q0 10 10 10 m110 0 q10 0 10 -10 m-120 10 h10 m90 0 h10 m40 -32 h10 m28 0 h10 m20 0 h10 m28 0 h10 m0 0 h10 m56 0 h10 m0 0 h10 m28 0 h10 m-192 0 h20 m172 0 h20 m-212 0 q10 0 10 10 m192 0 q0 -10 10 -10 m-202 10 v24 m192 0 v-24 m-192 24 q0 10 10 10 m172 0 q10 0 10 -10 m-182 10 h10 m90 0 h10 m0 0 h62 m-260 -44 h20 m260 0 h20 m-300 0 q10 0 10 10 m280 0 q0 -10 10 -10 m-290 10 v68 m280 0 v-68 m-280 68 q0 10 10 10 m260 0 q10 0 10 -10 m-270 10 h10 m28 0 h10 m0 0 h10 m56 0 h10 m0 0 h10 m28 0 h10 m0 0 h88 m23 -88 h-3"/>
|
||||
<polygon points="545 17 553 13 553 21"/>
|
||||
<polygon points="545 17 537 13 537 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
45
docs/diagram/else-blocks.svg
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="183" height="57">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 51 1 47 1 55"/>
|
||||
<polygon points="17 51 9 47 9 55"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#else-block"
|
||||
xlink:title="else-block">
|
||||
<rect x="51" y="3" width="84" height="32"/>
|
||||
<rect x="49" y="1" width="84" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">else-block</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 51 h2 m20 0 h10 m0 0 h94 m-124 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -14 q0 -10 10 -10 m104 34 l20 0 m-20 0 q10 0 10 -10 l0 -14 q0 -10 -10 -10 m-104 0 h10 m84 0 h10 m23 34 h-3"/>
|
||||
<polygon points="173 51 181 47 181 55"/>
|
||||
<polygon points="173 51 165 47 165 55"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
106
docs/diagram/every.svg
Normal file
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="645" height="69">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="58" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="58"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">every</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#var"
|
||||
xlink:title="var">
|
||||
<rect x="109" y="3" width="40" height="32"/>
|
||||
<rect x="107" y="1" width="40" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="117" y="21">var</text>
|
||||
</a>
|
||||
<rect x="189" y="35" width="24" height="32" rx="10"/>
|
||||
<rect x="187"
|
||||
y="33"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="197" y="53">,</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#var"
|
||||
xlink:title="var">
|
||||
<rect x="233" y="35" width="40" height="32"/>
|
||||
<rect x="231" y="33" width="40" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="241" y="53">var</text>
|
||||
</a>
|
||||
<rect x="313" y="3" width="32" height="32" rx="10"/>
|
||||
<rect x="311"
|
||||
y="1"
|
||||
width="32"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="321" y="21">in</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#bool-expr"
|
||||
xlink:title="bool-expr">
|
||||
<rect x="365" y="3" width="80" height="32"/>
|
||||
<rect x="363" y="1" width="80" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="373" y="21">bool-expr</text>
|
||||
</a>
|
||||
<rect x="465" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="463"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="473" y="21">{</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#query"
|
||||
xlink:title="query">
|
||||
<rect x="513" y="3" width="56" height="32"/>
|
||||
<rect x="511" y="1" width="56" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="521" y="21">query</text>
|
||||
</a>
|
||||
<rect x="589" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="587"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="597" y="21">}</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m58 0 h10 m0 0 h10 m40 0 h10 m20 0 h10 m0 0 h94 m-124 0 h20 m104 0 h20 m-144 0 q10 0 10 10 m124 0 q0 -10 10 -10 m-134 10 v12 m124 0 v-12 m-124 12 q0 10 10 10 m104 0 q10 0 10 -10 m-114 10 h10 m24 0 h10 m0 0 h10 m40 0 h10 m20 -32 h10 m32 0 h10 m0 0 h10 m80 0 h10 m0 0 h10 m28 0 h10 m0 0 h10 m56 0 h10 m0 0 h10 m28 0 h10 m3 0 h-3"/>
|
||||
<polygon points="635 17 643 13 643 21"/>
|
||||
<polygon points="635 17 627 13 627 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
44
docs/diagram/expr.svg
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="153" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#assign-expr"
|
||||
xlink:title="assign-expr">
|
||||
<rect x="31" y="3" width="94" height="32"/>
|
||||
<rect x="29" y="1" width="94" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">assign-expr</text>
|
||||
</a>
|
||||
<path class="line" d="m17 17 h2 m0 0 h10 m94 0 h10 m3 0 h-3"/>
|
||||
<polygon points="143 17 151 13 151 21"/>
|
||||
<polygon points="143 17 135 13 135 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
60
docs/diagram/field.svg
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="251" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#in-expr"
|
||||
xlink:title="in-expr">
|
||||
<rect x="31" y="3" width="64" height="32"/>
|
||||
<rect x="29" y="1" width="64" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">in-expr</text>
|
||||
</a>
|
||||
<rect x="115" y="3" width="24" height="32" rx="10"/>
|
||||
<rect x="113"
|
||||
y="1"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="123" y="21">:</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#in-expr"
|
||||
xlink:title="in-expr">
|
||||
<rect x="159" y="3" width="64" height="32"/>
|
||||
<rect x="157" y="1" width="64" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="167" y="21">in-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m64 0 h10 m0 0 h10 m24 0 h10 m0 0 h10 m64 0 h10 m3 0 h-3"/>
|
||||
<polygon points="241 17 249 13 249 21"/>
|
||||
<polygon points="241 17 233 13 233 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
91
docs/diagram/func-rule.svg
Normal file
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="561" height="113">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-ref"
|
||||
xlink:title="rule-ref">
|
||||
<rect x="31" y="47" width="66" height="32"/>
|
||||
<rect x="29" y="45" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="65">rule-ref</text>
|
||||
</a>
|
||||
<rect x="117" y="47" width="26" height="32" rx="10"/>
|
||||
<rect x="115"
|
||||
y="45"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="125" y="65">(</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#term"
|
||||
xlink:title="term">
|
||||
<rect x="183" y="47" width="50" height="32"/>
|
||||
<rect x="181" y="45" width="50" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="191" y="65">term</text>
|
||||
</a>
|
||||
<rect x="183" y="3" width="24" height="32" rx="10"/>
|
||||
<rect x="181"
|
||||
y="1"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="191" y="21">,</text>
|
||||
<rect x="293" y="79" width="24" height="32" rx="10"/>
|
||||
<rect x="291"
|
||||
y="77"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="301" y="97">,</text>
|
||||
<rect x="357" y="47" width="26" height="32" rx="10"/>
|
||||
<rect x="355"
|
||||
y="45"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="365" y="65">)</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-assign"
|
||||
xlink:title="rule-assign">
|
||||
<rect x="423" y="79" width="90" height="32"/>
|
||||
<rect x="421" y="77" width="90" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="431" y="97">rule-assign</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m0 0 h10 m66 0 h10 m0 0 h10 m26 0 h10 m20 0 h10 m50 0 h10 m-90 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m70 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-70 0 h10 m24 0 h10 m0 0 h26 m40 44 h10 m0 0 h34 m-64 0 h20 m44 0 h20 m-84 0 q10 0 10 10 m64 0 q0 -10 10 -10 m-74 10 v12 m64 0 v-12 m-64 12 q0 10 10 10 m44 0 q10 0 10 -10 m-54 10 h10 m24 0 h10 m20 -32 h10 m26 0 h10 m20 0 h10 m0 0 h100 m-130 0 h20 m110 0 h20 m-150 0 q10 0 10 10 m130 0 q0 -10 10 -10 m-140 10 v12 m130 0 v-12 m-130 12 q0 10 10 10 m110 0 q10 0 10 -10 m-120 10 h10 m90 0 h10 m23 -32 h-3"/>
|
||||
<polygon points="551 61 559 57 559 65"/>
|
||||
<polygon points="551 61 543 57 543 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
68
docs/diagram/imports.svg
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="449" height="101">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 33 1 29 1 37"/>
|
||||
<polygon points="17 33 9 29 9 37"/>
|
||||
<rect x="71" y="19" width="64" height="32" rx="10"/>
|
||||
<rect x="69"
|
||||
y="17"
|
||||
width="64"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="79" y="37">import</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#path-ref"
|
||||
xlink:title="path-ref">
|
||||
<rect x="155" y="19" width="72" height="32"/>
|
||||
<rect x="153" y="17" width="72" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="163" y="37">path-ref</text>
|
||||
</a>
|
||||
<rect x="267" y="51" width="34" height="32" rx="10"/>
|
||||
<rect x="265"
|
||||
y="49"
|
||||
width="34"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="275" y="69">as</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#var"
|
||||
xlink:title="var">
|
||||
<rect x="321" y="51" width="40" height="32"/>
|
||||
<rect x="319" y="49" width="40" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="329" y="69">var</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 33 h2 m40 0 h10 m64 0 h10 m0 0 h10 m72 0 h10 m20 0 h10 m0 0 h104 m-134 0 h20 m114 0 h20 m-154 0 q10 0 10 10 m134 0 q0 -10 10 -10 m-144 10 v12 m134 0 v-12 m-134 12 q0 10 10 10 m114 0 q10 0 10 -10 m-124 10 h10 m34 0 h10 m0 0 h10 m40 0 h10 m-330 -32 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m330 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-330 0 h10 m0 0 h320 m-370 32 h20 m370 0 h20 m-410 0 q10 0 10 10 m390 0 q0 -10 10 -10 m-400 10 v46 m390 0 v-46 m-390 46 q0 10 10 10 m370 0 q10 0 10 -10 m-380 10 h10 m0 0 h360 m23 -66 h-3"/>
|
||||
<polygon points="439 33 447 29 447 37"/>
|
||||
<polygon points="439 33 431 29 431 37"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
53
docs/diagram/in-expr.svg
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="179" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#bool-expr"
|
||||
xlink:title="bool-expr">
|
||||
<rect x="51" y="47" width="80" height="32"/>
|
||||
<rect x="49" y="45" width="80" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">bool-expr</text>
|
||||
</a>
|
||||
<rect x="51" y="3" width="32" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="32"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">in</text>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m20 0 h10 m80 0 h10 m-120 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m100 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-100 0 h10 m32 0 h10 m0 0 h48 m23 44 h-3"/>
|
||||
<polygon points="169 61 177 57 177 65"/>
|
||||
<polygon points="169 61 161 57 161 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
52
docs/diagram/literal-stmt.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="245" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#literal"
|
||||
xlink:title="literal">
|
||||
<rect x="31" y="3" width="56" height="32"/>
|
||||
<rect x="29" y="1" width="56" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">literal</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#with-modifiers"
|
||||
xlink:title="with-modifiers">
|
||||
<rect x="107" y="3" width="110" height="32"/>
|
||||
<rect x="105" y="1" width="110" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="115" y="21">with-modifiers</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m56 0 h10 m0 0 h10 m110 0 h10 m3 0 h-3"/>
|
||||
<polygon points="235 17 243 13 243 21"/>
|
||||
<polygon points="235 17 227 13 227 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
66
docs/diagram/literal.svg
Normal file
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="173" height="169">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#some"
|
||||
xlink:title="some">
|
||||
<rect x="51" y="3" width="54" height="32"/>
|
||||
<rect x="49" y="1" width="54" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">some</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#every"
|
||||
xlink:title="every">
|
||||
<rect x="51" y="47" width="54" height="32"/>
|
||||
<rect x="49" y="45" width="54" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">every</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#expr"
|
||||
xlink:title="expr">
|
||||
<rect x="51" y="91" width="48" height="32"/>
|
||||
<rect x="49" y="89" width="48" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="109">expr</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#not-expr"
|
||||
xlink:title="not-expr">
|
||||
<rect x="51" y="135" width="74" height="32"/>
|
||||
<rect x="49" y="133" width="74" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="153">not-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m54 0 h10 m0 0 h20 m-114 0 h20 m94 0 h20 m-134 0 q10 0 10 10 m114 0 q0 -10 10 -10 m-124 10 v24 m114 0 v-24 m-114 24 q0 10 10 10 m94 0 q10 0 10 -10 m-104 10 h10 m54 0 h10 m0 0 h20 m-104 -10 v20 m114 0 v-20 m-114 20 v24 m114 0 v-24 m-114 24 q0 10 10 10 m94 0 q10 0 10 -10 m-104 10 h10 m48 0 h10 m0 0 h26 m-104 -10 v20 m114 0 v-20 m-114 20 v24 m114 0 v-24 m-114 24 q0 10 10 10 m94 0 q10 0 10 -10 m-104 10 h10 m74 0 h10 m23 -132 h-3"/>
|
||||
<polygon points="163 17 171 13 171 21"/>
|
||||
<polygon points="163 17 155 13 155 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
75
docs/diagram/membership-expr.svg
Normal file
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="555" height="85">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 33 1 29 1 37"/>
|
||||
<polygon points="17 33 9 29 9 37"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#bool-expr"
|
||||
xlink:title="bool-expr">
|
||||
<rect x="31" y="19" width="80" height="32"/>
|
||||
<rect x="29" y="17" width="80" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="37">bool-expr</text>
|
||||
</a>
|
||||
<rect x="151" y="51" width="24" height="32" rx="10"/>
|
||||
<rect x="149"
|
||||
y="49"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="159" y="69">,</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#bool-expr"
|
||||
xlink:title="bool-expr">
|
||||
<rect x="195" y="51" width="80" height="32"/>
|
||||
<rect x="193" y="49" width="80" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="203" y="69">bool-expr</text>
|
||||
</a>
|
||||
<rect x="355" y="19" width="32" height="32" rx="10"/>
|
||||
<rect x="353"
|
||||
y="17"
|
||||
width="32"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="363" y="37">in</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#bool-expr"
|
||||
xlink:title="bool-expr">
|
||||
<rect x="407" y="19" width="80" height="32"/>
|
||||
<rect x="405" y="17" width="80" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="415" y="37">bool-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 33 h2 m0 0 h10 m80 0 h10 m20 0 h10 m0 0 h134 m-164 0 h20 m144 0 h20 m-184 0 q10 0 10 10 m164 0 q0 -10 10 -10 m-174 10 v12 m164 0 v-12 m-164 12 q0 10 10 10 m144 0 q10 0 10 -10 m-154 10 h10 m24 0 h10 m0 0 h10 m80 0 h10 m60 -32 h10 m32 0 h10 m0 0 h10 m80 0 h10 m-172 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m152 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-152 0 h10 m0 0 h142 m-192 32 h20 m192 0 h20 m-232 0 q10 0 10 10 m212 0 q0 -10 10 -10 m-222 10 v14 m212 0 v-14 m-212 14 q0 10 10 10 m192 0 q10 0 10 -10 m-202 10 h10 m0 0 h182 m23 -34 h-3"/>
|
||||
<polygon points="545 33 553 29 553 37"/>
|
||||
<polygon points="545 33 537 29 537 37"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.6 KiB |
59
docs/diagram/module.svg
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="323" height="71">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 51 1 47 1 55"/>
|
||||
<polygon points="17 51 9 47 9 55"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#package"
|
||||
xlink:title="package">
|
||||
<rect x="31" y="37" width="72" height="32"/>
|
||||
<rect x="29" y="35" width="72" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="55">package</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#imports"
|
||||
xlink:title="imports">
|
||||
<rect x="123" y="37" width="68" height="32"/>
|
||||
<rect x="121" y="35" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="131" y="55">imports</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule"
|
||||
xlink:title="rule">
|
||||
<rect x="231" y="3" width="44" height="32"/>
|
||||
<rect x="229" y="1" width="44" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="239" y="21">rule</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 51 h2 m0 0 h10 m72 0 h10 m0 0 h10 m68 0 h10 m20 0 h10 m0 0 h54 m-84 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -14 q0 -10 10 -10 m64 34 l20 0 m-20 0 q10 0 10 -10 l0 -14 q0 -10 -10 -10 m-64 0 h10 m44 0 h10 m23 34 h-3"/>
|
||||
<polygon points="313 51 321 47 321 55"/>
|
||||
<polygon points="313 51 305 47 305 55"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
61
docs/diagram/mul-div-expr.svg
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="149" height="125">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 105 1 101 1 109"/>
|
||||
<polygon points="17 105 9 101 9 109"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#term"
|
||||
xlink:title="term">
|
||||
<rect x="51" y="91" width="50" height="32"/>
|
||||
<rect x="49" y="89" width="50" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="109">term</text>
|
||||
</a>
|
||||
<rect x="51" y="47" width="28" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="45"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="65">*</text>
|
||||
<rect x="51" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">/</text>
|
||||
<path class="line"
|
||||
d="m17 105 h2 m20 0 h10 m50 0 h10 m-90 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m70 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-70 0 h10 m28 0 h10 m0 0 h22 m-80 10 l0 -44 q0 -10 10 -10 m80 54 l0 -44 q0 -10 -10 -10 m-70 0 h10 m28 0 h10 m0 0 h22 m23 88 h-3"/>
|
||||
<polygon points="139 105 147 101 147 109"/>
|
||||
<polygon points="139 105 131 101 131 109"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
70
docs/diagram/non-imported-future-future-keyword.svg
Normal file
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="175" height="169">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="51" y="3" width="76" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="76"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">contains</text>
|
||||
<rect x="51" y="47" width="58" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="45"
|
||||
width="58"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="65">every</text>
|
||||
<rect x="51" y="91" width="28" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="89"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="109">if</text>
|
||||
<rect x="51" y="135" width="32" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="133"
|
||||
width="32"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="153">in</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m76 0 h10 m-116 0 h20 m96 0 h20 m-136 0 q10 0 10 10 m116 0 q0 -10 10 -10 m-126 10 v24 m116 0 v-24 m-116 24 q0 10 10 10 m96 0 q10 0 10 -10 m-106 10 h10 m58 0 h10 m0 0 h18 m-106 -10 v20 m116 0 v-20 m-116 20 v24 m116 0 v-24 m-116 24 q0 10 10 10 m96 0 q10 0 10 -10 m-106 10 h10 m28 0 h10 m0 0 h48 m-106 -10 v20 m116 0 v-20 m-116 20 v24 m116 0 v-24 m-116 24 q0 10 10 10 m96 0 q10 0 10 -10 m-106 10 h10 m32 0 h10 m0 0 h44 m23 -132 h-3"/>
|
||||
<polygon points="165 17 173 13 173 21"/>
|
||||
<polygon points="165 17 157 13 157 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.0 KiB |
53
docs/diagram/not-expr.svg
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="215" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="42" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="42"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">not</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#assign-expr"
|
||||
xlink:title="assign-expr">
|
||||
<rect x="93" y="3" width="94" height="32"/>
|
||||
<rect x="91" y="1" width="94" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="101" y="21">assign-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m42 0 h10 m0 0 h10 m94 0 h10 m3 0 h-3"/>
|
||||
<polygon points="205 17 213 13 213 21"/>
|
||||
<polygon points="205 17 197 13 197 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
82
docs/diagram/object-rule.svg
Normal file
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="567" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-ref"
|
||||
xlink:title="rule-ref">
|
||||
<rect x="31" y="3" width="66" height="32"/>
|
||||
<rect x="29" y="1" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">rule-ref</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="117" y="3" width="68" height="32"/>
|
||||
<rect x="115" y="1" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="125" y="21">NO_WS</text>
|
||||
</a>
|
||||
<rect x="205" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="203"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="213" y="21">[</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#membership-expr"
|
||||
xlink:title="membership-expr">
|
||||
<rect x="251" y="3" width="132" height="32"/>
|
||||
<rect x="249" y="1" width="132" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="259" y="21">membership-expr</text>
|
||||
</a>
|
||||
<rect x="403" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="401"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="411" y="21">]</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-assign"
|
||||
xlink:title="rule-assign">
|
||||
<rect x="449" y="3" width="90" height="32"/>
|
||||
<rect x="447" y="1" width="90" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="457" y="21">rule-assign</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m66 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m132 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m90 0 h10 m3 0 h-3"/>
|
||||
<polygon points="557 17 565 13 565 21"/>
|
||||
<polygon points="557 17 549 13 549 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
77
docs/diagram/object.svg
Normal file
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="365" height="129">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<rect x="31" y="47" width="28" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="45"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="65">{</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#field"
|
||||
xlink:title="field">
|
||||
<rect x="119" y="47" width="46" height="32"/>
|
||||
<rect x="117" y="45" width="46" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="127" y="65">field</text>
|
||||
</a>
|
||||
<rect x="119" y="3" width="24" height="32" rx="10"/>
|
||||
<rect x="117"
|
||||
y="1"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="127" y="21">,</text>
|
||||
<rect x="225" y="79" width="24" height="32" rx="10"/>
|
||||
<rect x="223"
|
||||
y="77"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="233" y="97">,</text>
|
||||
<rect x="309" y="47" width="28" height="32" rx="10"/>
|
||||
<rect x="307"
|
||||
y="45"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="317" y="65">}</text>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m0 0 h10 m28 0 h10 m40 0 h10 m46 0 h10 m-86 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m66 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-66 0 h10 m24 0 h10 m0 0 h22 m40 44 h10 m0 0 h34 m-64 0 h20 m44 0 h20 m-84 0 q10 0 10 10 m64 0 q0 -10 10 -10 m-74 10 v12 m64 0 v-12 m-64 12 q0 10 10 10 m44 0 q10 0 10 -10 m-54 10 h10 m24 0 h10 m-190 -32 h20 m190 0 h20 m-230 0 q10 0 10 10 m210 0 q0 -10 10 -10 m-220 10 v46 m210 0 v-46 m-210 46 q0 10 10 10 m190 0 q10 0 10 -10 m-200 10 h10 m0 0 h180 m20 -66 h10 m28 0 h10 m3 0 h-3"/>
|
||||
<polygon points="355 61 363 57 363 65"/>
|
||||
<polygon points="355 61 347 57 347 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
53
docs/diagram/or-expr.svg
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="177" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#and-expr"
|
||||
xlink:title="and-expr">
|
||||
<rect x="51" y="47" width="78" height="32"/>
|
||||
<rect x="49" y="45" width="78" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">and-expr</text>
|
||||
</a>
|
||||
<rect x="51" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">|</text>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m20 0 h10 m78 0 h10 m-118 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m98 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-98 0 h10 m26 0 h10 m0 0 h52 m23 44 h-3"/>
|
||||
<polygon points="167 61 175 57 175 65"/>
|
||||
<polygon points="167 61 159 57 159 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
53
docs/diagram/package.svg
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="227" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="76" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="76"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">package</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#path-ref"
|
||||
xlink:title="path-ref">
|
||||
<rect x="127" y="3" width="72" height="32"/>
|
||||
<rect x="125" y="1" width="72" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="135" y="21">path-ref</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m76 0 h10 m0 0 h10 m72 0 h10 m3 0 h-3"/>
|
||||
<polygon points="217 17 225 13 225 21"/>
|
||||
<polygon points="217 17 209 13 209 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
61
docs/diagram/parens-expr.svg
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="283" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">(</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#membership-expr"
|
||||
xlink:title="membership-expr">
|
||||
<rect x="77" y="3" width="132" height="32"/>
|
||||
<rect x="75" y="1" width="132" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="85" y="21">membership-expr</text>
|
||||
</a>
|
||||
<rect x="229" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="227"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="237" y="21">)</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m26 0 h10 m0 0 h10 m132 0 h10 m0 0 h10 m26 0 h10 m3 0 h-3"/>
|
||||
<polygon points="273 17 281 13 281 21"/>
|
||||
<polygon points="273 17 265 13 265 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
97
docs/diagram/path-ref.svg
Normal file
@@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="535" height="113">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 33 1 29 1 37"/>
|
||||
<polygon points="17 33 9 29 9 37"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#IDENT"
|
||||
xlink:title="IDENT">
|
||||
<rect x="31" y="19" width="58" height="32"/>
|
||||
<rect x="29" y="17" width="58" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="37">IDENT</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="149" y="19" width="68" height="32"/>
|
||||
<rect x="147" y="17" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="157" y="37">NO_WS</text>
|
||||
</a>
|
||||
<rect x="257" y="19" width="24" height="32" rx="10"/>
|
||||
<rect x="255"
|
||||
y="17"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="265" y="37">.</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="301" y="19" width="68" height="32"/>
|
||||
<rect x="299" y="17" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="309" y="37">NO_WS</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#IDENT"
|
||||
xlink:title="IDENT">
|
||||
<rect x="389" y="19" width="58" height="32"/>
|
||||
<rect x="387" y="17" width="58" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="397" y="37">IDENT</text>
|
||||
</a>
|
||||
<rect x="257" y="63" width="26" height="32" rx="10"/>
|
||||
<rect x="255"
|
||||
y="61"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="265" y="81">[</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#STRING"
|
||||
xlink:title="STRING">
|
||||
<rect x="303" y="63" width="66" height="32"/>
|
||||
<rect x="301" y="61" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="311" y="81">STRING</text>
|
||||
</a>
|
||||
<rect x="389" y="63" width="26" height="32" rx="10"/>
|
||||
<rect x="387"
|
||||
y="61"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="397" y="81">]</text>
|
||||
<path class="line"
|
||||
d="m17 33 h2 m0 0 h10 m58 0 h10 m40 0 h10 m68 0 h10 m20 0 h10 m24 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m58 0 h10 m-230 0 h20 m210 0 h20 m-250 0 q10 0 10 10 m230 0 q0 -10 10 -10 m-240 10 v24 m230 0 v-24 m-230 24 q0 10 10 10 m210 0 q10 0 10 -10 m-220 10 h10 m26 0 h10 m0 0 h10 m66 0 h10 m0 0 h10 m26 0 h10 m0 0 h32 m-338 -44 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m338 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-338 0 h10 m0 0 h328 m-378 32 h20 m378 0 h20 m-418 0 q10 0 10 10 m398 0 q0 -10 10 -10 m-408 10 v58 m398 0 v-58 m-398 58 q0 10 10 10 m378 0 q10 0 10 -10 m-388 10 h10 m0 0 h368 m23 -78 h-3"/>
|
||||
<polygon points="525 33 533 29 533 37"/>
|
||||
<polygon points="525 33 517 29 517 37"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.4 KiB |
61
docs/diagram/query-blocks.svg
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="291" height="69">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 33 1 29 1 37"/>
|
||||
<polygon points="17 33 9 29 9 37"/>
|
||||
<rect x="71" y="19" width="28" height="32" rx="10"/>
|
||||
<rect x="69"
|
||||
y="17"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="79" y="37">{</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#query"
|
||||
xlink:title="query">
|
||||
<rect x="119" y="19" width="56" height="32"/>
|
||||
<rect x="117" y="17" width="56" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="127" y="37">query</text>
|
||||
</a>
|
||||
<rect x="195" y="19" width="28" height="32" rx="10"/>
|
||||
<rect x="193"
|
||||
y="17"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="203" y="37">}</text>
|
||||
<path class="line"
|
||||
d="m17 33 h2 m40 0 h10 m28 0 h10 m0 0 h10 m56 0 h10 m0 0 h10 m28 0 h10 m-192 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m172 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-172 0 h10 m0 0 h162 m-212 32 h20 m212 0 h20 m-252 0 q10 0 10 10 m232 0 q0 -10 10 -10 m-242 10 v14 m232 0 v-14 m-232 14 q0 10 10 10 m212 0 q10 0 10 -10 m-222 10 h10 m0 0 h202 m23 -34 h-3"/>
|
||||
<polygon points="281 33 289 29 289 37"/>
|
||||
<polygon points="281 33 273 29 273 37"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
52
docs/diagram/query.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="189" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#literal-stmt"
|
||||
xlink:title="literal-stmt">
|
||||
<rect x="51" y="47" width="90" height="32"/>
|
||||
<rect x="49" y="45" width="90" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">literal-stmt</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#sep"
|
||||
xlink:title="sep">
|
||||
<rect x="51" y="3" width="42" height="32"/>
|
||||
<rect x="49" y="1" width="42" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">sep</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m20 0 h10 m90 0 h10 m-130 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m110 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-110 0 h10 m42 0 h10 m0 0 h48 m23 44 h-3"/>
|
||||
<polygon points="179 61 187 57 187 65"/>
|
||||
<polygon points="179 61 171 57 171 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
75
docs/diagram/ref-brack.svg
Normal file
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="359" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#ref"
|
||||
xlink:title="ref">
|
||||
<rect x="31" y="3" width="36" height="32"/>
|
||||
<rect x="29" y="1" width="36" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">ref</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="87" y="3" width="68" height="32"/>
|
||||
<rect x="85" y="1" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="95" y="21">NO_WS</text>
|
||||
</a>
|
||||
<rect x="175" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="173"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="183" y="21">[</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#in-expr"
|
||||
xlink:title="in-expr">
|
||||
<rect x="221" y="3" width="64" height="32"/>
|
||||
<rect x="219" y="1" width="64" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="229" y="21">in-expr</text>
|
||||
</a>
|
||||
<rect x="305" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="303"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="313" y="21">]</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m36 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m64 0 h10 m0 0 h10 m26 0 h10 m3 0 h-3"/>
|
||||
<polygon points="349 17 357 13 357 21"/>
|
||||
<polygon points="349 17 341 13 341 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
74
docs/diagram/ref-dot.svg
Normal file
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="375" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#ref"
|
||||
xlink:title="ref">
|
||||
<rect x="31" y="3" width="36" height="32"/>
|
||||
<rect x="29" y="1" width="36" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">ref</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="87" y="3" width="68" height="32"/>
|
||||
<rect x="85" y="1" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="95" y="21">NO_WS</text>
|
||||
</a>
|
||||
<rect x="175" y="3" width="24" height="32" rx="10"/>
|
||||
<rect x="173"
|
||||
y="1"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="183" y="21">.</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="219" y="3" width="68" height="32"/>
|
||||
<rect x="217" y="1" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="227" y="21">NO_WS</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#var"
|
||||
xlink:title="var">
|
||||
<rect x="307" y="3" width="40" height="32"/>
|
||||
<rect x="305" y="1" width="40" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="315" y="21">var</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m36 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m24 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m40 0 h10 m3 0 h-3"/>
|
||||
<polygon points="365 17 373 13 373 21"/>
|
||||
<polygon points="365 17 357 13 357 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
94
docs/diagram/ref.svg
Normal file
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="247" height="345">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#scalar-or-var"
|
||||
xlink:title="scalar-or-var">
|
||||
<rect x="51" y="3" width="102" height="32"/>
|
||||
<rect x="49" y="1" width="102" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">scalar-or-var</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#compr-set-or-object"
|
||||
xlink:title="compr-set-or-object">
|
||||
<rect x="51" y="47" width="148" height="32"/>
|
||||
<rect x="49" y="45" width="148" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">compr-set-or-object</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#compr-or-array"
|
||||
xlink:title="compr-or-array">
|
||||
<rect x="51" y="91" width="116" height="32"/>
|
||||
<rect x="49" y="89" width="116" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="109">compr-or-array</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#unary-expr"
|
||||
xlink:title="unary-expr">
|
||||
<rect x="51" y="135" width="90" height="32"/>
|
||||
<rect x="49" y="133" width="90" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="153">unary-expr</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#parens-expr"
|
||||
xlink:title="parens-expr">
|
||||
<rect x="51" y="179" width="98" height="32"/>
|
||||
<rect x="49" y="177" width="98" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="197">parens-expr</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#ref-dot"
|
||||
xlink:title="ref-dot">
|
||||
<rect x="51" y="223" width="64" height="32"/>
|
||||
<rect x="49" y="221" width="64" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="241">ref-dot</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#ref-brack"
|
||||
xlink:title="ref-brack">
|
||||
<rect x="51" y="267" width="76" height="32"/>
|
||||
<rect x="49" y="265" width="76" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="285">ref-brack</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#call-expr"
|
||||
xlink:title="call-expr">
|
||||
<rect x="51" y="311" width="74" height="32"/>
|
||||
<rect x="49" y="309" width="74" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="329">call-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m102 0 h10 m0 0 h46 m-188 0 h20 m168 0 h20 m-208 0 q10 0 10 10 m188 0 q0 -10 10 -10 m-198 10 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m148 0 h10 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m116 0 h10 m0 0 h32 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m90 0 h10 m0 0 h58 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m98 0 h10 m0 0 h50 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m64 0 h10 m0 0 h84 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m76 0 h10 m0 0 h72 m-178 -10 v20 m188 0 v-20 m-188 20 v24 m188 0 v-24 m-188 24 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m74 0 h10 m0 0 h74 m23 -308 h-3"/>
|
||||
<polygon points="237 17 245 13 245 21"/>
|
||||
<polygon points="237 17 229 13 229 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.1 KiB |
52
docs/diagram/rule-assign.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="293" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#assign-op"
|
||||
xlink:title="assign-op">
|
||||
<rect x="31" y="3" width="82" height="32"/>
|
||||
<rect x="29" y="1" width="82" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">assign-op</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#membership-expr"
|
||||
xlink:title="membership-expr">
|
||||
<rect x="133" y="3" width="132" height="32"/>
|
||||
<rect x="131" y="1" width="132" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="141" y="21">membership-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m82 0 h10 m0 0 h10 m132 0 h10 m3 0 h-3"/>
|
||||
<polygon points="283 17 291 13 291 21"/>
|
||||
<polygon points="283 17 275 13 275 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
106
docs/diagram/rule-bodies.svg
Normal file
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="455" height="125">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="51" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">if</text>
|
||||
<rect x="119" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="117"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="127" y="21">{</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#query"
|
||||
xlink:title="query">
|
||||
<rect x="167" y="3" width="56" height="32"/>
|
||||
<rect x="165" y="1" width="56" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="175" y="21">query</text>
|
||||
</a>
|
||||
<rect x="243" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="241"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="251" y="21">}</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#literal-stmt"
|
||||
xlink:title="literal-stmt">
|
||||
<rect x="119" y="47" width="90" height="32"/>
|
||||
<rect x="117" y="45" width="90" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="127" y="65">literal-stmt</text>
|
||||
</a>
|
||||
<rect x="51" y="91" width="28" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="89"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="109">{</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#query"
|
||||
xlink:title="query">
|
||||
<rect x="99" y="91" width="56" height="32"/>
|
||||
<rect x="97" y="89" width="56" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="107" y="109">query</text>
|
||||
</a>
|
||||
<rect x="175" y="91" width="28" height="32" rx="10"/>
|
||||
<rect x="173"
|
||||
y="89"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="183" y="109">}</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#alternatives"
|
||||
xlink:title="alternatives">
|
||||
<rect x="331" y="3" width="96" height="32"/>
|
||||
<rect x="329" y="1" width="96" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="339" y="21">alternatives</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m28 0 h10 m20 0 h10 m28 0 h10 m0 0 h10 m56 0 h10 m0 0 h10 m28 0 h10 m-192 0 h20 m172 0 h20 m-212 0 q10 0 10 10 m192 0 q0 -10 10 -10 m-202 10 v24 m192 0 v-24 m-192 24 q0 10 10 10 m172 0 q10 0 10 -10 m-182 10 h10 m90 0 h10 m0 0 h62 m-260 -44 h20 m260 0 h20 m-300 0 q10 0 10 10 m280 0 q0 -10 10 -10 m-290 10 v68 m280 0 v-68 m-280 68 q0 10 10 10 m260 0 q10 0 10 -10 m-270 10 h10 m28 0 h10 m0 0 h10 m56 0 h10 m0 0 h10 m28 0 h10 m0 0 h88 m20 -88 h10 m96 0 h10 m3 0 h-3"/>
|
||||
<polygon points="445 17 453 13 453 21"/>
|
||||
<polygon points="445 17 437 13 437 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.4 KiB |
73
docs/diagram/rule-head.svg
Normal file
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="201" height="213">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#func-rule"
|
||||
xlink:title="func-rule">
|
||||
<rect x="51" y="3" width="76" height="32"/>
|
||||
<rect x="49" y="1" width="76" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">func-rule</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#contains-rule"
|
||||
xlink:title="contains-rule">
|
||||
<rect x="51" y="47" width="102" height="32"/>
|
||||
<rect x="49" y="45" width="102" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">contains-rule</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#object-rule"
|
||||
xlink:title="object-rule">
|
||||
<rect x="51" y="91" width="88" height="32"/>
|
||||
<rect x="49" y="89" width="88" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="109">object-rule</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#set-rule"
|
||||
xlink:title="set-rule">
|
||||
<rect x="51" y="135" width="70" height="32"/>
|
||||
<rect x="49" y="133" width="70" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="153">set-rule</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#compr-rule"
|
||||
xlink:title="compr-rule">
|
||||
<rect x="51" y="179" width="88" height="32"/>
|
||||
<rect x="49" y="177" width="88" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="197">compr-rule</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m76 0 h10 m0 0 h26 m-142 0 h20 m122 0 h20 m-162 0 q10 0 10 10 m142 0 q0 -10 10 -10 m-152 10 v24 m142 0 v-24 m-142 24 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m102 0 h10 m-132 -10 v20 m142 0 v-20 m-142 20 v24 m142 0 v-24 m-142 24 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m88 0 h10 m0 0 h14 m-132 -10 v20 m142 0 v-20 m-142 20 v24 m142 0 v-24 m-142 24 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m70 0 h10 m0 0 h32 m-132 -10 v20 m142 0 v-20 m-142 20 v24 m142 0 v-24 m-142 24 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m88 0 h10 m0 0 h14 m23 -176 h-3"/>
|
||||
<polygon points="191 17 199 13 199 21"/>
|
||||
<polygon points="191 17 183 13 183 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
111
docs/diagram/rule-ref.svg
Normal file
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="863" height="97">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 33 1 29 1 37"/>
|
||||
<polygon points="17 33 9 29 9 37"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#path-ref"
|
||||
xlink:title="path-ref">
|
||||
<rect x="51" y="19" width="72" height="32"/>
|
||||
<rect x="49" y="17" width="72" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="37">path-ref</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="143" y="19" width="68" height="32"/>
|
||||
<rect x="141" y="17" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="151" y="37">NO_WS</text>
|
||||
</a>
|
||||
<rect x="231" y="19" width="26" height="32" rx="10"/>
|
||||
<rect x="229"
|
||||
y="17"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="239" y="37">[</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#membership-expr"
|
||||
xlink:title="membership-expr">
|
||||
<rect x="277" y="19" width="132" height="32"/>
|
||||
<rect x="275" y="17" width="132" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="285" y="37">membership-expr</text>
|
||||
</a>
|
||||
<rect x="429" y="19" width="26" height="32" rx="10"/>
|
||||
<rect x="427"
|
||||
y="17"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="437" y="37">]</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#var"
|
||||
xlink:title="var">
|
||||
<rect x="51" y="63" width="40" height="32"/>
|
||||
<rect x="49" y="61" width="40" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="81">var</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="535" y="19" width="68" height="32"/>
|
||||
<rect x="533" y="17" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="543" y="37">NO_WS</text>
|
||||
</a>
|
||||
<rect x="623" y="19" width="24" height="32" rx="10"/>
|
||||
<rect x="621"
|
||||
y="17"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="631" y="37">.</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="667" y="19" width="68" height="32"/>
|
||||
<rect x="665" y="17" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="675" y="37">NO_WS</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#var"
|
||||
xlink:title="var">
|
||||
<rect x="755" y="19" width="40" height="32"/>
|
||||
<rect x="753" y="17" width="40" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="763" y="37">var</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 33 h2 m20 0 h10 m72 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m132 0 h10 m0 0 h10 m26 0 h10 m-444 0 h20 m424 0 h20 m-464 0 q10 0 10 10 m444 0 q0 -10 10 -10 m-454 10 v24 m444 0 v-24 m-444 24 q0 10 10 10 m424 0 q10 0 10 -10 m-434 10 h10 m40 0 h10 m0 0 h364 m60 -44 h10 m68 0 h10 m0 0 h10 m24 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m40 0 h10 m-300 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m280 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-280 0 h10 m0 0 h270 m-320 32 h20 m320 0 h20 m-360 0 q10 0 10 10 m340 0 q0 -10 10 -10 m-350 10 v14 m340 0 v-14 m-340 14 q0 10 10 10 m320 0 q10 0 10 -10 m-330 10 h10 m0 0 h310 m23 -34 h-3"/>
|
||||
<polygon points="853 33 861 29 861 37"/>
|
||||
<polygon points="853 33 845 29 845 37"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.0 KiB |
52
docs/diagram/rule.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="193" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#default-rule"
|
||||
xlink:title="default-rule">
|
||||
<rect x="51" y="3" width="94" height="32"/>
|
||||
<rect x="49" y="1" width="94" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">default-rule</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#spec-rule"
|
||||
xlink:title="spec-rule">
|
||||
<rect x="51" y="47" width="78" height="32"/>
|
||||
<rect x="49" y="45" width="78" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">spec-rule</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m94 0 h10 m-134 0 h20 m114 0 h20 m-154 0 q10 0 10 10 m134 0 q0 -10 10 -10 m-144 10 v24 m134 0 v-24 m-134 24 q0 10 10 10 m114 0 q10 0 10 -10 m-124 10 h10 m78 0 h10 m0 0 h16 m23 -44 h-3"/>
|
||||
<polygon points="183 17 191 13 191 21"/>
|
||||
<polygon points="183 17 175 13 175 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
90
docs/diagram/scalar-or-var.svg
Normal file
@@ -0,0 +1,90 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="195" height="301">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#var"
|
||||
xlink:title="var">
|
||||
<rect x="51" y="3" width="40" height="32"/>
|
||||
<rect x="49" y="1" width="40" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">var</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NUMBER"
|
||||
xlink:title="NUMBER">
|
||||
<rect x="51" y="47" width="72" height="32"/>
|
||||
<rect x="49" y="45" width="72" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">NUMBER</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#STRING"
|
||||
xlink:title="STRING">
|
||||
<rect x="51" y="91" width="66" height="32"/>
|
||||
<rect x="49" y="89" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="109">STRING</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#RAWSTRING"
|
||||
xlink:title="RAWSTRING">
|
||||
<rect x="51" y="135" width="96" height="32"/>
|
||||
<rect x="49" y="133" width="96" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="153">RAWSTRING</text>
|
||||
</a>
|
||||
<rect x="51" y="179" width="44" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="177"
|
||||
width="44"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="197">null</text>
|
||||
<rect x="51" y="223" width="48" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="221"
|
||||
width="48"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="241">true</text>
|
||||
<rect x="51" y="267" width="52" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="265"
|
||||
width="52"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="285">false</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m40 0 h10 m0 0 h56 m-136 0 h20 m116 0 h20 m-156 0 q10 0 10 10 m136 0 q0 -10 10 -10 m-146 10 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m72 0 h10 m0 0 h24 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m66 0 h10 m0 0 h30 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m96 0 h10 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m44 0 h10 m0 0 h52 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m48 0 h10 m0 0 h48 m-126 -10 v20 m136 0 v-20 m-136 20 v24 m136 0 v-24 m-136 24 q0 10 10 10 m116 0 q10 0 10 -10 m-126 10 h10 m52 0 h10 m0 0 h44 m23 -264 h-3"/>
|
||||
<polygon points="185 17 193 13 193 21"/>
|
||||
<polygon points="185 17 177 13 177 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
62
docs/diagram/sep.svg
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="149" height="125">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="51" y="3" width="24" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="1"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="21">;</text>
|
||||
<rect x="51" y="47" width="36" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="45"
|
||||
width="36"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="65">\n</text>
|
||||
<rect x="51" y="91" width="50" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="89"
|
||||
width="50"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="109">\r\n</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m24 0 h10 m0 0 h26 m-90 0 h20 m70 0 h20 m-110 0 q10 0 10 10 m90 0 q0 -10 10 -10 m-100 10 v24 m90 0 v-24 m-90 24 q0 10 10 10 m70 0 q10 0 10 -10 m-80 10 h10 m36 0 h10 m0 0 h14 m-80 -10 v20 m90 0 v-20 m-90 20 v24 m90 0 v-24 m-90 24 q0 10 10 10 m70 0 q10 0 10 -10 m-80 10 h10 m50 0 h10 m23 -88 h-3"/>
|
||||
<polygon points="139 17 147 13 147 21"/>
|
||||
<polygon points="139 17 131 13 131 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
61
docs/diagram/set-compr.svg
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="213" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">{</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#compr"
|
||||
xlink:title="compr">
|
||||
<rect x="79" y="3" width="58" height="32"/>
|
||||
<rect x="77" y="1" width="58" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="87" y="21">compr</text>
|
||||
</a>
|
||||
<rect x="157" y="3" width="28" height="32" rx="10"/>
|
||||
<rect x="155"
|
||||
y="1"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="165" y="21">}</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m28 0 h10 m0 0 h10 m58 0 h10 m0 0 h10 m28 0 h10 m3 0 h-3"/>
|
||||
<polygon points="203 17 211 13 211 21"/>
|
||||
<polygon points="203 17 195 13 195 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
75
docs/diagram/set-rule.svg
Normal file
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="457" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-ref"
|
||||
xlink:title="rule-ref">
|
||||
<rect x="31" y="3" width="66" height="32"/>
|
||||
<rect x="29" y="1" width="66" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">rule-ref</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#NO_WS"
|
||||
xlink:title="NO_WS">
|
||||
<rect x="117" y="3" width="68" height="32"/>
|
||||
<rect x="115" y="1" width="68" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="125" y="21">NO_WS</text>
|
||||
</a>
|
||||
<rect x="205" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="203"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="213" y="21">[</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#membership-expr"
|
||||
xlink:title="membership-expr">
|
||||
<rect x="251" y="3" width="132" height="32"/>
|
||||
<rect x="249" y="1" width="132" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="259" y="21">membership-expr</text>
|
||||
</a>
|
||||
<rect x="403" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="401"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="411" y="21">]</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m66 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m132 0 h10 m0 0 h10 m26 0 h10 m3 0 h-3"/>
|
||||
<polygon points="447 17 455 13 455 21"/>
|
||||
<polygon points="447 17 439 13 439 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
93
docs/diagram/set.svg
Normal file
@@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="383" height="157">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<rect x="51" y="47" width="28" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="45"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="65">{</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#in-expr"
|
||||
xlink:title="in-expr">
|
||||
<rect x="119" y="47" width="64" height="32"/>
|
||||
<rect x="117" y="45" width="64" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="127" y="65">in-expr</text>
|
||||
</a>
|
||||
<rect x="119" y="3" width="24" height="32" rx="10"/>
|
||||
<rect x="117"
|
||||
y="1"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="127" y="21">,</text>
|
||||
<rect x="243" y="79" width="24" height="32" rx="10"/>
|
||||
<rect x="241"
|
||||
y="77"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="251" y="97">,</text>
|
||||
<rect x="307" y="47" width="28" height="32" rx="10"/>
|
||||
<rect x="305"
|
||||
y="45"
|
||||
width="28"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="315" y="65">}</text>
|
||||
<rect x="51" y="123" width="48" height="32" rx="10"/>
|
||||
<rect x="49"
|
||||
y="121"
|
||||
width="48"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="59" y="141">set(</text>
|
||||
<rect x="119" y="123" width="26" height="32" rx="10"/>
|
||||
<rect x="117"
|
||||
y="121"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="127" y="141">)</text>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m20 0 h10 m28 0 h10 m20 0 h10 m64 0 h10 m-104 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m84 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-84 0 h10 m24 0 h10 m0 0 h40 m40 44 h10 m0 0 h34 m-64 0 h20 m44 0 h20 m-84 0 q10 0 10 10 m64 0 q0 -10 10 -10 m-74 10 v12 m64 0 v-12 m-64 12 q0 10 10 10 m44 0 q10 0 10 -10 m-54 10 h10 m24 0 h10 m20 -32 h10 m28 0 h10 m-324 0 h20 m304 0 h20 m-344 0 q10 0 10 10 m324 0 q0 -10 10 -10 m-334 10 v56 m324 0 v-56 m-324 56 q0 10 10 10 m304 0 q10 0 10 -10 m-314 10 h10 m48 0 h10 m0 0 h10 m26 0 h10 m0 0 h190 m23 -76 h-3"/>
|
||||
<polygon points="373 61 381 57 381 65"/>
|
||||
<polygon points="373 61 365 57 365 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
76
docs/diagram/some-in.svg
Normal file
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="363" height="69">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="56" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="56"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">some</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#ref"
|
||||
xlink:title="ref">
|
||||
<rect x="107" y="3" width="36" height="32"/>
|
||||
<rect x="105" y="1" width="36" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="115" y="21">ref</text>
|
||||
</a>
|
||||
<rect x="183" y="35" width="24" height="32" rx="10"/>
|
||||
<rect x="181"
|
||||
y="33"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="191" y="53">,</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#ref"
|
||||
xlink:title="ref">
|
||||
<rect x="227" y="35" width="36" height="32"/>
|
||||
<rect x="225" y="33" width="36" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="235" y="53">ref</text>
|
||||
</a>
|
||||
<rect x="303" y="3" width="32" height="32" rx="10"/>
|
||||
<rect x="301"
|
||||
y="1"
|
||||
width="32"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="311" y="21">in</text>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m56 0 h10 m0 0 h10 m36 0 h10 m20 0 h10 m0 0 h90 m-120 0 h20 m100 0 h20 m-140 0 q10 0 10 10 m120 0 q0 -10 10 -10 m-130 10 v12 m120 0 v-12 m-120 12 q0 10 10 10 m100 0 q10 0 10 -10 m-110 10 h10 m24 0 h10 m0 0 h10 m36 0 h10 m20 -32 h10 m32 0 h10 m3 0 h-3"/>
|
||||
<polygon points="353 17 361 13 361 21"/>
|
||||
<polygon points="353 17 345 13 345 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
61
docs/diagram/some-vars.svg
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="215" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 61 1 57 1 65"/>
|
||||
<polygon points="17 61 9 57 9 65"/>
|
||||
<rect x="31" y="47" width="56" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="45"
|
||||
width="56"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="65">some</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#var"
|
||||
xlink:title="var">
|
||||
<rect x="127" y="47" width="40" height="32"/>
|
||||
<rect x="125" y="45" width="40" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="135" y="65">var</text>
|
||||
</a>
|
||||
<rect x="127" y="3" width="24" height="32" rx="10"/>
|
||||
<rect x="125"
|
||||
y="1"
|
||||
width="24"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="135" y="21">,</text>
|
||||
<path class="line"
|
||||
d="m17 61 h2 m0 0 h10 m56 0 h10 m20 0 h10 m40 0 h10 m-80 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m60 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-60 0 h10 m24 0 h10 m0 0 h16 m23 44 h-3"/>
|
||||
<polygon points="205 61 213 57 213 65"/>
|
||||
<polygon points="205 61 197 57 197 65"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
52
docs/diagram/some.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="185" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#some-vars"
|
||||
xlink:title="some-vars">
|
||||
<rect x="51" y="3" width="86" height="32"/>
|
||||
<rect x="49" y="1" width="86" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">some-vars</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#some-in"
|
||||
xlink:title="some-in">
|
||||
<rect x="51" y="47" width="70" height="32"/>
|
||||
<rect x="49" y="45" width="70" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">some-in</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m86 0 h10 m-126 0 h20 m106 0 h20 m-146 0 q10 0 10 10 m126 0 q0 -10 10 -10 m-136 10 v24 m126 0 v-24 m-126 24 q0 10 10 10 m106 0 q10 0 10 -10 m-116 10 h10 m70 0 h10 m0 0 h16 m23 -44 h-3"/>
|
||||
<polygon points="175 17 183 13 183 21"/>
|
||||
<polygon points="175 17 167 13 167 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
52
docs/diagram/spec-rule.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="253" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-head"
|
||||
xlink:title="rule-head">
|
||||
<rect x="31" y="3" width="82" height="32"/>
|
||||
<rect x="29" y="1" width="82" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">rule-head</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#rule-bodies"
|
||||
xlink:title="rule-bodies">
|
||||
<rect x="133" y="3" width="92" height="32"/>
|
||||
<rect x="131" y="1" width="92" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="141" y="21">rule-bodies</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m82 0 h10 m0 0 h10 m92 0 h10 m3 0 h-3"/>
|
||||
<polygon points="243 17 251 13 251 21"/>
|
||||
<polygon points="243 17 235 13 235 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
44
docs/diagram/term.svg
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="95" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#ref"
|
||||
xlink:title="ref">
|
||||
<rect x="31" y="3" width="36" height="32"/>
|
||||
<rect x="29" y="1" width="36" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="39" y="21">ref</text>
|
||||
</a>
|
||||
<path class="line" d="m17 17 h2 m0 0 h10 m36 0 h10 m3 0 h-3"/>
|
||||
<polygon points="85 17 93 13 93 21"/>
|
||||
<polygon points="85 17 77 13 77 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
53
docs/diagram/unary-expr.svg
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="169" height="37">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<rect x="31" y="3" width="26" height="32" rx="10"/>
|
||||
<rect x="29"
|
||||
y="1"
|
||||
width="26"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="39" y="21">-</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#in-expr"
|
||||
xlink:title="in-expr">
|
||||
<rect x="77" y="3" width="64" height="32"/>
|
||||
<rect x="75" y="1" width="64" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="85" y="21">in-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m0 0 h10 m26 0 h10 m0 0 h10 m64 0 h10 m3 0 h-3"/>
|
||||
<polygon points="159 17 167 13 167 21"/>
|
||||
<polygon points="159 17 151 13 151 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
52
docs/diagram/var.svg
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="307" height="81">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 17 1 13 1 21"/>
|
||||
<polygon points="17 17 9 13 9 21"/>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#IDENT"
|
||||
xlink:title="IDENT">
|
||||
<rect x="51" y="3" width="58" height="32"/>
|
||||
<rect x="49" y="1" width="58" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="21">IDENT</text>
|
||||
</a>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#non-imported-future-keyword"
|
||||
xlink:title="non-imported-future-keyword">
|
||||
<rect x="51" y="47" width="208" height="32"/>
|
||||
<rect x="49" y="45" width="208" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="59" y="65">non-imported-future-keyword</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 17 h2 m20 0 h10 m58 0 h10 m0 0 h150 m-248 0 h20 m228 0 h20 m-268 0 q10 0 10 10 m248 0 q0 -10 10 -10 m-258 10 v24 m248 0 v-24 m-248 24 q0 10 10 10 m228 0 q10 0 10 -10 m-238 10 h10 m208 0 h10 m23 -44 h-3"/>
|
||||
<polygon points="297 17 305 13 305 21"/>
|
||||
<polygon points="297 17 289 13 289 21"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
68
docs/diagram/with-modifiers.svg
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="419" height="69">
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
@namespace "http://www.w3.org/2000/svg";
|
||||
.line {fill: none; stroke: #332900; stroke-width: 1;}
|
||||
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width: 2;}
|
||||
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
|
||||
.filled {fill: #332900; stroke: none;}
|
||||
text.terminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #141000;
|
||||
font-weight: bold;
|
||||
}
|
||||
text.nonterminal {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1A1400;
|
||||
font-weight: normal;
|
||||
}
|
||||
text.regexp {font-family: Verdana, Sans-serif;
|
||||
font-size: 12px;
|
||||
fill: #1F1800;
|
||||
font-weight: normal;
|
||||
}
|
||||
rect, circle, polygon {fill: #332900; stroke: #332900;}
|
||||
rect.terminal {fill: #FFDB4D; stroke: #332900; stroke-width: 1;}
|
||||
rect.nonterminal {fill: #FFEC9E; stroke: #332900; stroke-width: 1;}
|
||||
rect.text {fill: none; stroke: none;}
|
||||
polygon.regexp {fill: #FFF4C7; stroke: #332900; stroke-width: 1;}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon points="9 33 1 29 1 37"/>
|
||||
<polygon points="17 33 9 29 9 37"/>
|
||||
<rect x="71" y="19" width="50" height="32" rx="10"/>
|
||||
<rect x="69"
|
||||
y="17"
|
||||
width="50"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="79" y="37">with</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#path-ref"
|
||||
xlink:title="path-ref">
|
||||
<rect x="141" y="19" width="72" height="32"/>
|
||||
<rect x="139" y="17" width="72" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="149" y="37">path-ref</text>
|
||||
</a>
|
||||
<rect x="233" y="19" width="34" height="32" rx="10"/>
|
||||
<rect x="231"
|
||||
y="17"
|
||||
width="34"
|
||||
height="32"
|
||||
class="terminal"
|
||||
rx="10"/>
|
||||
<text class="terminal" x="241" y="37">as</text>
|
||||
<a xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="#in-expr"
|
||||
xlink:title="in-expr">
|
||||
<rect x="287" y="19" width="64" height="32"/>
|
||||
<rect x="285" y="17" width="64" height="32" class="nonterminal"/>
|
||||
<text class="nonterminal" x="295" y="37">in-expr</text>
|
||||
</a>
|
||||
<path class="line"
|
||||
d="m17 33 h2 m40 0 h10 m50 0 h10 m0 0 h10 m72 0 h10 m0 0 h10 m34 0 h10 m0 0 h10 m64 0 h10 m-320 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m300 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-300 0 h10 m0 0 h290 m-340 32 h20 m340 0 h20 m-380 0 q10 0 10 10 m360 0 q0 -10 10 -10 m-370 10 v14 m360 0 v-14 m-360 14 q0 10 10 10 m340 0 q10 0 10 -10 m-350 10 h10 m0 0 h330 m23 -34 h-3"/>
|
||||
<polygon points="409 33 417 29 417 37"/>
|
||||
<polygon points="409 33 401 29 401 37"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |