Integration of compiler state in the codebase to create a separation from compilation and runtime