Compiler for dictionaries