customasm 0.13.12

An assembler for custom, user-defined instruction sets!
Documentation
1
2
3
4
5
6
7
8
9
#ruledef
{
    emit {x: i8} => x
    test {x} => {
        asm { emit {x} + x }
    }
}

test 2 ; error: failed / note:_:4: within / note:_:5: emit 2 + x / error:_:5: failed / note:_:3: within / error:_:5: unknown symbol `x`