# -*- tcl -*-
# Parsing Expression Grammar 'TEMPLATE'.
# Generated for unknown, from file 'TEST'

package require Tcl 8.5
package require snit
package require pt::peg::container

snit::type TEMPLATE {
    constructor {} {
        install myg using pt::peg::container ${selfns}::G
        $myg start {n eos}

        $myg add   eos
        $myg mode  eos value
        $myg rule  eos {x {n ex} {* {x {+ space} {n ex}}}}

        $myg add   ex
        $myg mode  ex  value
        $myg rule  ex  {x {+ {x {! {n X}} {/ {t x} {t z}}}} {? {n X}}}

        $myg add   X
        $myg mode  X   value
        $myg rule  X   {t x}

        return
    }

    component myg
    delegate method * to myg
}

package provide TEMPLATE
return
