搜索资源列表
for
- for循环控制语句的翻译,该程序的词法分析和语法分析程序是分开的-for circulation control translation statement, the program' s lexical analysis and syntax analysis program is separate from the
newcf
- 另一个词法分析程序,较之前的词法分析程序有区别,实现起来较简单-Another lexical analysis program than before the distinction between lexical analysis process, to achieve a simpler
program
- 实现c语言的词法分析器,用文件读取,要求能识别整数、自定义标识符及以下关键字: + - * / < <= == != > >= & && || = ( ) [ ] { } : , void int float char if else while do ! main -Achieve c language lexical analyzer, using file read, the request can identify integers, custom id
simple-words-analyse
- 对于如下文法定义的PASCAL语言子集,试编写并上机调试一个词法分析程序: <标识符>->字母|<标识符>字母|<标识符>数字 <无符号整数>->数字|<无符号整数>数字 <单界符>->+|-|*|/| | |:|( | )|?|>|<|=|! <双界符>-><叹号>= | <冒号>= <叹号>->! <冒
yufafenxi
- 语法分析是编译过程的一个逻辑阶段。语法分析的任务是在词法分析的基础上将单词序列组合成各类语法短语,如“程序”,“语句”,“表达式”等等.语法分析程序判断源程序在结构上是否正确.源程序的结构由上下文无关文法描述.语法分析程序可以用YACC等工具自动生成。-Grammar analysis is a logical compile process stage. The task of grammatical analysis is in a separate lexical analysis on
cmm-compiler-document
- cmm 语言的解释器,包括整个程序的设计,以及程序的词法分析语法分析语义分析以及最后的解释执行。-cmm language interpreter, including the design of the entire program, and the program s lexical analysis syntax analysis semantic analysis and final interpretation of the implementation.
cifa
- 编译原理词法分析程序,用于对PASCAL语言进行的词法分析程序-Compiler theory lexical analysis procedures used to PASCAL language lexical analysis program
er
- 给出PL/0文法规范,要求编写PL/0语言的词法分析程序。-Gives the PL/0 grammar specification, requiring written PL/0 language lexical analysis program.
Lexical-analysis
- 调试并完成一个词法分析程序,加深对词法分析原理的理解。-Debugging and completed a lexical analysis program to deepen the understanding of the principles of lexical analysis.
Parsing
- 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析。-The preparation of a recursive descent parser, syntax checking and word structure to achieve lexical analysis program provided by sequence analysis.
test4
- 完成词法分析任务的程序称为词法分析程序或词法分析器或扫描器。从左至右地对源程序进行扫描,按照语言的词法规则识别各类单词,并产生相应单词的属性字。-Completion of lexical analysis task of the program called lexical analysis program or lexical analyzer or scanner. From left to right for source program to scan, according to th