Reverse polish notation based expression interpreter