Basic interpreter implementation in multiple languages