Paul walks through a preview of what a structural find and replace utility might look like for the Unison codebase. Unison codebases aren't text-based, so we can make a rewrite rule and change terms in the codebase programmatically.
Пікірлер: 6
@TankorSmash Жыл бұрын
This is neat! I think it's a fun way of taking advantage of Unison's whole thing. Makes me wonder what other cool things could be done.
@TheEagleWithGlasse Жыл бұрын
That so Cool !! Thanks for keeping the good work years after years !
@TheEagleWithGlasse Жыл бұрын
I'm sure there are a way to generate the rewrite function from a function isn't it ?
@aredrih6723 Жыл бұрын
I only follow the unison on/off so i might be completly off on that one. Is this unison answer to not having stable ABI ? As far as I understand, changing the hash of a function would change the hash of every "syntax tree" using it; so making any change to a library would change the hash of the function part of the ABI. So are there "auto @rewrite generator" that take the old hash and convert it to the new ? Or is the editor runtime smart enough to update matching function ?