Add example compiler and migrate all color examples to using the new
partial system.