Is "switch visor to transparent" grammatical?
Solution 1:
I see transparent as a noun in this case. It is a type of "thing." Normally it would modify the thing in question, but the lack of a noun following it pushes it to take on the role of one. There are lots of examples in English, and some are idiomatic:
- I like red. [Clearly an adjective for the color red.]
- I like the red. [It's probably referring to a red beer or wine and functioning quite well as a noun.]
- The lady in red [another example of a prepositional phrase; with red as a noun].
Switch is simply a verb in the imperative mood.
There is nothing wrong with the sentence in terms of its grammar, either "Switch visor to transparent" or any of your other examples.