A Peek into Pugs Internals #44

Parsing terms

rule term
    { undef            : { return VUndef   }
    | (\d+)            : { return VInt($0) }
    }

rule expr
    { <term> ...
Copyright © 2006 Gaal Yahas