WIP: Compiler and Selector

Initial version of a compiler.
Same here.