Tcl Library Source Code

Artifact [77051ab608]
Login

Artifact 77051ab6083bb4f2ac3f0686a233eb71549eed6b:


snit::type a_pe_grammar {
    constructor {} {
        install myg using pt::peg::container ${selfns}::G
        $myg start {n TEST}
        $myg add   TEST
        $myg modes {
            TEST value
        }
        $myg rules {
            TEST {x {! {t a}} {n IDENTIFIER}}
        }
        return
    }

    component myg
    delegate method * to myg
}