add parser instance as parameter to interpreter and test it