Added first revision of compilation logic for new dict grammar.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>