For more informations about the structure of the compiler have a look at the Compiler Manual which contains also some informations about compiler internals.
The compiler directory also contains a subdirectory utils, which contains mainly the utilities for creation and maintainance of the message les.