What does HackerNews think of codemod?
Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.
I once used Codemod [0] to migrate an old JS codebase. Would this be a use case for Ohm as well?
https://github.com/facebookarchive/codemod
It sounds like what you are describing is what’s known as poly fills which convert code into a variant that maximizes function across implementations which isn’t really applicable here.
Ironically this is also from Meta which would be contributing to this space increasing the expertise of achieving this result.
The name originates from an internal script at Facebook called codemod. It had a public open source fork if you are curious.