implement simple REPR for Tutorial D interpreter