Added evaluation logic and compilation logic for primitive bodies.

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