schema.compiler: Compiler for literals and types