开发者

What to name these columns in my symbol table

I'm using yacc to make a symbol table for a made-up language grammar.

Column 1 will have either "variable" or "function."

Column 2 will 开发者_Python百科have either "int" or "void."

I was thinking of naming one column "type" but then I wouldn't know what to call the other one.


identefier for variables and functions names...

Literal for int or void....

hope that helps : D

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜