Haskell Quiz/Bytecode Compiler

From HaskellWiki

1 The Problem

Create a bytecode compiler as described on the test page. The Ruby solution involves being run by a interpreter written in Ruby - but that wont' work for the Haskell solution. Anyone want to write the interpreter in Haskell to test the solutions? :)