Thought, then, is the execution of this computer code.
Meaning comes from the correspondence between the code and its execution, and the compact underlying structure of the world and its dynamics.
The self is the resultant of the interest of the genes.
The mind is an evolved computer program.