Files
regorus/docs/diagram/compr-rule.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.5 KiB
XML

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