如何在编译器中创建变量? [英] How to create variables in a compiler?
本文介绍了如何在编译器中创建变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何集成我的编译器变量的创建并在vb.net中为这些变量赋值感谢
我尝试过的:
创建数组和删除变量,但我不能给这些变量赋值
I want to know how to integrate the creation of my compiler variables and give value to these variables in vb.net thanks
What I have tried:
Create arrays and drop variables but I can not give a value to these variables
推荐答案
通常符号表
用于此目的。例如,请参阅:编译器设计 - 符号表 [ ^ ]。
Usually a symbol table
serves to the purpose. See, for instance: Compiler Design - Symbol Table[^].
这篇关于如何在编译器中创建变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文