@pg.production('prim_expr : NUMBER')
def expr_num(p):
    num_repr = p[0].getstr()
    try:
        return int(num_repr)
    except __HOLE__ as _:
        return float(num_repr)
dataset/ETHPy150Open i2y/mochi/mochi/parser/parser.py/expr_num