Browse Source

Deployed fd2a146 with MkDocs version: 1.1.2

Gilbert Brault 5 years ago
parent
commit
1bddb8e5fa

File diff suppressed because it is too large
+ 348 - 0
.ipynb_checkpoints/index-checkpoint.html


File diff suppressed because it is too large
+ 866 - 0
resources/yamlpysketchergrammar.xhtml


File diff suppressed because it is too large
+ 1 - 1
search/search_index.json


BIN
sitemap.xml.gz


+ 19 - 8
yamlsketcher/index.html

@@ -433,14 +433,25 @@
 <li><a href="#code-to-read-or-write-a-yaml-sketcher-file">Code to read or write a yaml sketcher file</a></li>
 </ul>
 <h2 id="yaml-sketcher-file-grammar">YAML sketcher file grammar</h2>
-<p>This is the wireframe grammar:</p>
-<ul>
-<li>starts with S</li>
-<li>each time you see two "embedded" rectangles, this is the text to write</li>
-<li>follow the arrows and iterate as needed</li>
-<li>end with E</li>
-</ul>
-<p><img alt="Yaml Sketcher Definition" src="../reference/yamlpysketchergrammar.svg" /></p>
+<p>Sketcher file EBNF Grammar is</p>
+<pre><code class="EBNF">Sketch::= Sketch_Name Parts
+Sketch_Name::= &quot;-&quot; &quot; &quot; &quot;name: &quot; Identifier Comment? &quot;\n&quot;
+Parts::= &quot;-&quot; &quot; &quot; &quot;parts:\n&quot; Comment? Part+
+Part::= Part_Name Shapes
+Part_Name::= INDENT &quot;-&quot; &quot; &quot; &quot;name: &quot; Identifier Comment? &quot;\n&quot; DEDENT
+Shapes::= INDENT &quot; &quot; &quot; &quot; &quot;shapes:\n&quot; Comment? Shape+ DEDENT
+Shape::= Simple | DoAction | SketchObject
+Simple::= INDENT Identifier &quot;:&quot; PyRightHandExpression Comment? &quot;\n&quot; DEDENT
+DoAction::= INDENT Identifier &quot;:&quot; Comment? &quot;\n&quot; Action DEDENT
+Action::= INDENT &quot;action:&quot; PyExpression Comment? &quot;\n&quot; DEDENT 
+Identifier::= [A-Za-z][_A-Za-z0-9]+
+Comment::= &quot;#&quot; STRING
+</code></pre>
+
+<p>Here is the railroad grammar diagram:</p>
+<p><a href="/resources/yamlpysketchergrammar.xhtml" target="_blank">Yaml Sketcher Definition</a>
+<iframe src="/resources/yamlpysketchergrammar.xhtml" style="border:none;height:50vh;width:100vw;"></p>
+<p><small><a href="https://bottlecaps.de/rr/ui"target="_blank">[Built thanks]</a></small></p>
 <h2 id="libraries-pysketcher-object-creation-styles-transform">Libraries, Pysketcher Object creation, Styles, Transform</h2>
 <h3 id="libraries">Libraries</h3>
 <p>The libraries token defined in the grammar is</p>