interpreter environment is now generic in terms of index and doctable implementation