simple compiler which targets a simple register based VM