Perform lexical analysis program called lexical analyzer or scanner (scanner).
执行词法分析的程序称为词法分析程序或扫描程序(Scanner)。
" Compiler Principle" S language lexical analysis program design process to understand lexical analysis of two design methods: 1. According to the state transition diagram direct way of programming 2.
《编译原理》S语言词法分析程序设计方案 了解词法分析程序的两种设计方法:1。根据状态转换图直接编程的方式;
At the base of converted-state chart, building morphology table, designing a section of program for every status, in order to enable lexical analysis to recognize word from character string.
在状态转换图的基础上,构造词形表,为每个状态设计一段处理程序,使词法分析能从字符串中识别单词。
应用推荐