The Compiler
c-number

Write c_number() -- reads a number from source, emits i64.const N:

fn c_number() void {
    const val: i64 = number();
    emit_const(val);
}

One line of real work. We reuse number() for parsing and do something different with the result.