basic compiler without call, loop