摘要: 一、词法分析器的作用 1.识别源文件中的 space 和注释并删除; 2.识别源文件中的 lexeme; 3.用 token 来代替源文件中的 lexeme,token 的形式为 <token-name, attribute-value>; 其中 attribute-value为可选项,例如对于常量 阅读全文
posted @ 2020-03-06 15:12 tong96 阅读(1424) 评论(0) 推荐(0)