Framework for interpreter