This is kinda a poll. Please reply, and answer the 2 questions shortly, so I can get a grasp of your feedback.
I want to know if there is a desire for this, or if it already exists. Years ago I started to work on a python program called "spellcheck-dir" It would recursively look at files in a project, and look at their output. Regardless of if the output was a web browser, or a command line program. I'm not talking about checking the spelling of variables, functions, and class names. I am talking about the actual text that the code would output to an end user. To do this, I had to write multiple lexical parsers, one for HTML, JavaScript, Python, PHP, etc. I hadn't finished this tool. Now I am interested in finishing it, but it has been 10 years.
In case there is any confusion, let me give an example. You just finished a PHP site for a client. You are about to push it live. The entire site lives in some public_html directory. The command you would run would be "spellcheck-dir /home/client-dev-staging/public_html" It would then sit and run interactively finding words that were spelled wrong, and asking the user if they wanted to replace with suggestions, edit manually, ignore, ignore always, etc. After I finish this, I would put it on github so that other programmers could add in parsers to handle more and more file types.
2 questions for you, #1, does something like this already exist? And #2, if not, is there a desire for this? Is this something other programmers would use?
Side Note: I had someone message me, stating that you would need to execute the code, running all possible outcomes. That isn't necessarily true. Simply a lexical parser (though a complex one) should do the trick, for 99% of all text generated via code. It actually is quite simple in concept. The only words that would get skipped over without executing code would be ones that are actually generated on the fly. But that rarely actually happens in code. Even in cases of tense, singular or plural, you still generally have the root of the word typed. This tool would at the least capture and check that word.