implement straight-line program language interpreter