Black Handles Comments When Python’s Grammar Ignores Them

Whenever I started learning about parsing and writing interpreters, I would get to how to handle comments. The gist of it was simple: just throw them out! You find them in the raw text output as you are generating lexing tokens, and discard them, meaning … Read more

Similar