An ingenious way of adding commenting to a static blog (e.g. Jekyll): a service that opens PRs to add comments to your content! https://staticman.net/
Related Posts
I'm adding a += operator to my programming language, because writing `x = x + 1` is tedious.
This opens the tricky design question of which operators should support this. Is += and -= sufficient, or do you expect things like >>= and **= to be available?
ASTs typically discard comments, and that's usually what you want.
The only time (AFAICS) that preserving comments is useful is for writing a code formatter.
Could you write a formatter in terms of a list of lexemes? A CST is a non-trivial bit of code for one use case.
@krinkle A surprising number of PL design workarounds are "just add another equals sign" 🙃