@bx that should be fairly small a change to add, you could add to the escape code so it can handle 0x28 and 0x29: https://git.sr.ht/~rabbits/modal/tree/master/item/src/modal.c#L78
Top-level
@bx that should be fairly small a change to add, you could add to the escape code so it can handle 0x28 and 0x29: https://git.sr.ht/~rabbits/modal/tree/master/item/src/modal.c#L78 2 comments
@bx Oh, you can already do this transformation with the ?* register :), I have a couple of string rules if you need a hand with that bit. Hop on irc or discord if you can. |
@neauoire i was thinking more at a higher level to allow it to work in rules as well, itd be really fun to match against an op code name and ouput gur binary for it in a sequence along side its length in bytes, then have a higher level pattern that takes instruction sequences and converts labels into addresses to make a function.
or rules that move parens around without them matching, like if you wanted to write a program to transform "do"/"end" into "("/")"