Completed compiler rewrite.