Proteins are the runtime on which DNA is executed, because they are the mechanism that "reads" DNA. But proteins are the compiled output of DNA, because they are the result of "reading" DNA. So the DNA defines the runtime environment that is necessary for DNA to run.
RNA actually has a large role to play in going from DNA to protein. Its been suspected that the first life was RNA based because RNA can actually form functional site similar to proteins to do enzymatic reactions. RNA is some of the secret sauce to many of these systems
Definitely true, and my comment was without a doubt extremely oversimplified and wrong in several respects in an attempt to explain the analogy. Thank you for giving the clarification on it.