codegen, building symbol table