metaparse/doc/images/folds.svg

467 lines
18 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="1441.0195"
height="439.82764"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="folds.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="625.34814"
inkscape:cy="133.49169"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1855"
inkscape:window-height="1056"
inkscape:window-x="65"
inkscape:window-y="24"
inkscape:window-maximized="1"
showguides="true"
inkscape:guide-bbox="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-22.351023,-120.61823)">
<g
id="g4013"
transform="translate(199.50768,248.49753)">
<text
sodipodi:linespacing="125%"
id="text2985"
y="99.47654"
x="26.174335"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="99.47654"
x="26.174335"
id="tspan2987"
sodipodi:role="line">fold</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3870"
y="69.064384"
x="357.79153"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
style="text-align:center;text-anchor:middle"
y="69.064384"
x="357.79153"
id="tspan3872"
sodipodi:role="line">_reject_incomplete</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3870-8"
y="56.984238"
x="767.75244"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
style="text-align:center;text-anchor:middle"
y="56.984238"
x="767.75244"
id="tspan3872-50"
sodipodi:role="line">_start_with_parser</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3870-7-2"
y="101.14451"
x="591.75244"
style="font-size:40px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="101.14451"
x="591.75244"
id="tspan3872-3-7"
sodipodi:role="line">1</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3870-3"
y="77.064384"
x="141.8306"
style="font-size:40px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="77.064384"
x="141.8306"
id="tspan3872-7"
sodipodi:role="line">l</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3870-7-9"
y="121.22465"
x="141.8306"
style="font-size:40px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="121.22465"
x="141.8306"
id="tspan3872-3-9"
sodipodi:role="line">r</tspan></text>
</g>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="22.223354"
y="244.7681"
id="text4027"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
x="22.223354"
y="244.7681"
style="font-size:20px"
id="tspan4204">process from</tspan><tspan
sodipodi:role="line"
x="22.223354"
y="269.7681"
style="font-size:20px"
id="tspan4208">left-to-right</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="20.534616"
y="408.06741"
id="text4027-2"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4029-9"
x="20.534616"
y="408.06741"
style="font-size:20px">process from</tspan><tspan
sodipodi:role="line"
x="20.534616"
y="433.06741"
style="font-size:20px"
id="tspan4210">right-to-left</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="419.42136"
y="135.81354"
id="text4027-7"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
x="419.42136"
y="135.81354"
style="font-size:20px"
id="tspan4075">Advanced error reporting</tspan><tspan
sodipodi:role="line"
x="419.42136"
y="160.81354"
style="font-size:20px"
id="tspan4082">by expecting the repeated</tspan><tspan
sodipodi:role="line"
x="419.42136"
y="185.81354"
style="font-size:20px"
id="tspan4084">parser to fail immediately</tspan><tspan
sodipodi:role="line"
x="419.42136"
y="210.81354"
style="font-size:20px"
id="tspan4086">after the last element.</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="419.6362"
y="481.28571"
id="text4027-4"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4029-7"
x="419.6362"
y="481.28571"
style="font-size:20px">The repeated parser might</tspan><tspan
sodipodi:role="line"
x="419.6362"
y="506.28571"
style="font-size:20px"
id="tspan4097">consume characters after</tspan><tspan
sodipodi:role="line"
x="419.6362"
y="531.28571"
style="font-size:20px"
id="tspan4099">the last successfully parsed</tspan><tspan
sodipodi:role="line"
x="419.6362"
y="556.28571"
style="font-size:20px"
id="tspan4101">element before failing.</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="1232.9116"
y="193.87955"
id="text4027-9"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4029-2"
x="1232.9116"
y="193.87955"
style="font-size:20px">The initial value comes</tspan><tspan
sodipodi:role="line"
x="1232.9116"
y="218.87955"
style="font-size:20px"
id="tspan4112">from an extra parser</tspan><tspan
sodipodi:role="line"
x="1232.9116"
y="243.87955"
style="font-size:20px"
id="tspan4114">application</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="1232.9116"
y="300.86435"
id="text4027-9-8"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
x="1232.9116"
y="300.86435"
style="font-size:20px"
id="tspan4114-7">The initial value is a</tspan><tspan
sodipodi:role="line"
x="1232.9116"
y="325.86435"
style="font-size:20px"
id="tspan4166">constant and 0</tspan><tspan
sodipodi:role="line"
x="1232.9116"
y="350.86435"
style="font-size:20px"
id="tspan4170">repetition is not</tspan><tspan
sodipodi:role="line"
x="1232.9116"
y="375.86435"
style="font-size:20px"
id="tspan4172">acceptable</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="1232.9116"
y="433.68417"
id="text4027-9-8-1"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
x="1232.9116"
y="433.68417"
style="font-size:20px"
id="tspan4114-7-6">The initial value is a</tspan><tspan
sodipodi:role="line"
x="1232.9116"
y="458.68417"
style="font-size:20px"
id="tspan4166-2">constant and 0</tspan><tspan
sodipodi:role="line"
x="1232.9116"
y="483.68417"
style="font-size:20px"
id="tspan4170-6">repetition is</tspan><tspan
sodipodi:role="line"
x="1232.9116"
y="508.68417"
style="font-size:20px"
id="tspan4172-0">acceptable</tspan></text>
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5"
width="177.89055"
height="2.0203059"
x="162.59395"
y="426.38483"
ry="0.025847621" />
<path
style="fill:#808080;fill-opacity:1"
d="m 351.48989,402.52697 -19.19282,0 9.7846,-26.26396 0,0 z"
id="rect18817-2"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-8"
width="33.988052"
height="2.0203059"
x="394.32648"
y="-342.90363"
ry="0.025847621"
transform="matrix(0,1,-1,0,0,0)" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-3"
width="179.89055"
height="2.0203059"
x="162.59395"
y="-242.28333"
ry="0.025847621"
transform="scale(1,-1)" />
<path
style="fill:#808080;fill-opacity:1"
d="m 351.48989,266.14117 -19.19282,0 9.7846,26.26396 0,0 z"
id="rect18817-2-2"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-8-2"
width="33.988052"
height="2.0203059"
x="-274.34167"
y="-342.90363"
ry="0.025847621"
transform="matrix(0,-1,-1,0,0,0)" />
<path
style="fill:#808080;fill-opacity:1"
d="m 557.48989,266.14117 -19.19282,0 9.7846,26.26396 0,0 z"
id="rect18817-2-2-0"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-8-2-6"
width="62.202339"
height="2.0203059"
x="-274.34167"
y="-548.90363"
ry="0.025847621"
transform="matrix(0,-1,-1,0,0,0)" />
<path
style="fill:#808080;fill-opacity:1"
d="m 557.48989,402.52697 -19.19282,0 9.7846,-26.26396 0,0 z"
id="rect18817-2-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-8-4"
width="73.273766"
height="2.0203059"
x="394.32648"
y="-548.90363"
ry="0.025847621"
transform="matrix(0,1,-1,0,0,0)" />
<path
style="fill:#808080;fill-opacity:1"
d="m 1182.4177,302.31574 0,-19.19282 -26.264,9.7846 0,0 z"
id="rect18817-2-2-0-1"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-3-1"
width="24.033403"
height="2.0203059"
x="1167.269"
y="-293.72949"
ry="0.025847621"
transform="scale(1,-1)" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-8-2-6-3"
width="55.416626"
height="2.0203059"
x="-293.8205"
y="-1192.6531"
ry="0.025847621"
transform="matrix(0,-1,-1,0,0,0)" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-3-1-3"
width="40.461975"
height="2.0203059"
x="1191.269"
y="-239.72949"
ry="0.025847621"
transform="scale(1,-1)" />
<path
style="fill:#808080;fill-opacity:1"
d="m 834.4177,342.31574 0,-19.19282 -26.264,9.7846 0,0 z"
id="rect18817-2-2-0-1-8"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-3-1-7"
width="407.81912"
height="2.0203059"
x="822.91193"
y="-333.72949"
ry="0.025847621"
transform="scale(1,-1)" />
<path
style="fill:#808080;fill-opacity:1"
d="m 834.4177,363.70919 0,19.19282 -26.264,-9.7846 0,0 z"
id="rect18817-2-2-0-1-5"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-3-1-2"
width="373.03342"
height="2.0203059"
x="819.26898"
y="372.29544"
ry="0.025847621" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-8-2-6-3-7"
width="55.416626"
height="2.0203059"
x="372.20444"
y="-1192.6531"
ry="0.025847621"
transform="matrix(0,1,-1,0,0,0)" />
<rect
style="color:#000000;fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:6;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect4212-5-3-1-3-4"
width="40.461975"
height="2.0203059"
x="1191.269"
y="426.29544"
ry="0.025847621" />
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="1360.6494"
y="349.37976"
id="text4027-9-8-9"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
x="1360.6494"
y="349.37976"
style="font-size:20px"
id="tspan4172-9">___</tspan></text>
</g>
</svg>