WIP: Compiler and Selector

Initial version of a compiler.
same here use for over foreach.