For the Type symbol, we need to keep track of the actual type
seandgrimes opened this issue · 0 comments
seandgrimes commented
For example, when creating a new Type
symbol the symbolType
property will be set to SymbolType.Type
but we lose the underlying type (number, string, bool, etc.) that was determined during lexing. We need some way to keep track of this information for things like semantic analysis and compiling