Has there been any discussion around providing some form of tooling for doing code mods, similar to jscodeshift
and friends in the JS world? This is of course a fairly advanced use case, but still, having a way of writing code mods would be very valuable.
As hard as it is to deal with PPX:es/the AST, I guess a code mod in ReScript could in theory be modelled as a PPX you run once and rewrite in place?
It’d be interesting to discuss this. As code bases and ReScript itself grows, I can imagine the need for something like this will increase. I know there’s comby
and similar text-based tools, which are really great at what they do. But a simple to use, AST-based tool is another tool that’s useful to have in your tool belt, especially for larger code bases.