implementing symbols as syntax tree nodes.