|
|
|
|
|
by conartist6
345 days ago
|
|
https://github.com/bablr-lang/ I'm building a universal DOM for code so that we should see an explosion in code whose purpose is to help clean up other code. If you want to write code that makes changes to a tree of HTML nodes, you can pretty much write that code once and it will run in any web browser. If you want to write code that makes a new program by changing a tree of syntax nodes, there are an incredible number of different and wholly incompatible environments for that code to run in. Transform authors are likely forced to pick one or two engines to support, and anyone who needs to run a lot of codemods will probably need to install 5-10 different execution engines. Most people seem not to notice or care about this situation or realize that their tools are vastly underserving their potential just because we can't come up with the basic standards necessary to enable universal execution of codemod code, which also means there are drastically lower incentives to write custom codemods and lint rules than there could/should be |
|
As two nits, https://docs.bablr.org/reference/cstml and https://bablr.org/languages/universe/ruby are both 404, but I suspect that latter one is just falling into the same trap as many namespaces make of using a URL when they meant it as a URN