3 ms·
I would imagine that it works particularly well for lisps, since lisps can easily transform running code to source code and vice versa.
by Derbasti 13y ago
I would imagine that it works particularly well for lisps, since lisps can easily transform running code to source code and vice versa.
- ibdknox 13y agoactually the tools for doing this in other languages have gotten a lot better than they used to be. Using esprima you can do some pretty neat code rewriting in JavaScript and Python includes ast tools in the standard lib. Plus if more new languages start to include things like gofmt by default then we'll end up with more of this stuff as first class. Either way though, it's nearly always the case that the platform itself has the best tools for doing this, so at the very least if gives you the best possible chance. :)