I've added syntax highlighting to the prompt of my programming language!
It's not strictly necessary, but it's nice to have. It caught a bug with lexing incomplete string literals too.
Wilfred Hughes
Shared words: literals, string, language
Score: 54.5
Many languages use docstrings rather than doc comments: it certainly makes extracting them easier. You just parse the code.
Could you go further and require all comments to be string literals? I'm struggling to think of many downsides.
Wilfred Hughes
Shared words: literals, string, language
Score: 54.5