Files
regorus/docs/diagram/bool-expr.svg
Anand Krishnamoorthi aabf329088 Update READEME.md with current status, grammar etc. (#102)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
2024-01-11 13:12:15 -08:00

53 lines
2.4 KiB
XML

<?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>