Simplified SymbolTableStack implementation