Can't Modal without matching parens it turns out. 🤦♀️
6 comments
[DATA EXPUNGED]
@neauoire ive been doing allot of wierd C preprocessor usage lately and reading gur page for modal, its wild to see a system that is so similar yet so much nicer and more flexible (gur way paren matching works / getting around it is a large bit of my cpp efforts rn), really curious how much would need to be done to add hex/binary escapes to modal to allow it to do unmatched parens + potentially allow it to operate on binary data (a dissassembler in modal would be REALLY cool) @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 @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. @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. |