use stack symbol table

parameter symbols are stored first in a layer