changed compiling error token_stack.is_empty should be .empty()