cubing / standards

🗃 Cubing Standards — technical specifications outside the current scope of the WCA.
https://standards.cubing.net
0 stars 0 forks source link

Railroad diagrams? #16

Open lgarron opened 6 years ago

lgarron commented 6 years ago

Tinkering around a tad at https://tabatkins.github.io/railroad-diagrams/generator.html :

screen shot 2018-07-12 at 22 44 01

Diagram( Optional(NonTerminal("positive-int"), "skip"), Choice(2, Terminal('U'), Terminal('L'), Terminal('F'), Terminal('R'), Terminal('B'), Terminal('D') ), Optional(NonTerminal("positive-int"), "skip"), Optional(NonTerminal("'"), "skip") )

screen shot 2018-07-12 at 22 53 32
Diagram( Terminal("["), NonTerminal("Sequence"), Terminal(","), NonTerminal("Sequence"), Terminal("]") )