A Peek into Pugs Internals #43

Parsing literals

rule term
    { undef            : { return Val(VUndef)   }
    | (\d+)            : { return Val(VInt($0)) }
    }
Copyright © 2006 Gaal Yahas