t"><ol class="orderedlist" type="1">
<li class="listitem">
              deriving a struct (or class) from the <code class="computeroutput"><span class="identifier">grammar</span></code>
              class template
            </li>
<li class="listitem">
              declare one or more rules as member variables
            </li>
<li class="listitem">
              initialize the base grammar class by giving it the start rule (its
              the first rule that gets called when the grammar starts parsi