schema.compiler: compile mappings (in progress)