资源列表
[编译器/词法分析] cifafenxi
说明:词法分析程序的功能是,接受一个表达式,输出该表达式中的各类单词符号。测试词法分析程序时,可以按照一定格式输出各类单词符号。 本程序实现整数四则运算表达式的词法分析程序。-Lexical analyzer function is to accept an expression, the output of the expression of the various types of word symbols. Testing lexical analysis program, you can<huangjunping> 在 2025-06-18 上传 | 大小:2kb | 下载:0
[编译器/词法分析] ccdetect.tar
说明:Little program to detect the compiler used to compile it by evaluating predefined defines. Use as reference when you need to detect a specific compiler.<sunscreen> 在 2025-06-18 上传 | 大小:2kb | 下载:0
[编译器/词法分析] ll(1)fenxi
说明:本程序是采用的LL(1)方法进行的语法分析,而LL(1)的分析方法是属于自上而下的方法。 自上而下分析的基本思想是:对任意输入串,试图用一切可能的方法,从文法开始符号(根结点)出发,自上而下为输入串建立一棵语法树。从推导的角度看,它是从文法的开始符号出发,反复使用各种产生式,寻找与输入串匹配的推导。 在输入之前必须要进行该文法是不是LL(1)文法的判断,然后再构造相应的LL(1)分析表来用预测分析方法进行语法分析,依据下面的文法及分析表来设计程序实现预测分析的分析过程。<WM> 在 2025-06-18 上传 | 大小:2kb | 下载:0