Login

UltraWiki - Kant Generator

<div class="grammar">

<ref id="hello">
<p><xref id="opening" /> <xref id="name" /></p>
</ref>

<ref id="opening">
<p>hi</p>
<p>*hello*</p>
</ref>

<ref id="name">
<p>tom</p>
<p>bart</p>
</ref>

</div>

  • UltraWiki uses Yak, a PHP-implementation of the Kant Generator to parse XML-grammar.
  • XML-grammar is a context-free page that allows you to make name-generators, inn-generators, and the like.
  • A grammar page is identified with a <span class="grammar>.
  • The grammar itself consists of <ref> elements that each contain one or more <p> elements.
  • An <xref> cross-reference is a random paragraph from that <ref>.
  • A <p> element can contain wiki syntax (*strong*, [[page]], ...)