-
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。...
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(-read a word process, from the import of the source to identify all the independent significance of the word, that is to retain the basic character identifier, constant, Operators, separated top-five. Output and followed all the internal code words and symbols own words value. (
- 2023-03-20 00:35:03下载
- 积分:1
-
编译原理 小程序设计 用C语言实现一个简单的词法分析程序
编译原理 小程序设计 用C语言实现一个简单的词法分析程序-small compiler theory C programming language used to implement a simple lexical analysis procedure
- 2022-01-31 21:23:04下载
- 积分:1
-
设计、编制、调试一个典型的语法分析程序,实现对如下文法的递归子程序法分析,进一
步掌握常用的语法分析方法。...
设计、编制、调试一个典型的语法分析程序,实现对如下文法的递归子程序法分析,进一
步掌握常用的语法分析方法。-Design, preparation, testing a typical parser to realize the following grammar for a recursive subroutine Analysis, to further understand the syntax of commonly used analytical methods.
- 2022-03-07 13:06:02下载
- 积分:1
-
SNL language compiler, Vc prepared, Windows interface, grammar, syntax, semantic...
SNL语言的编译器,Vc++编写,Windows界面,语法,词法,语义分析及代码生成一条龙,有详细注解! 超级豪华!-SNL language compiler, Vc prepared, Windows interface, grammar, syntax, semantic analysis and code generation dragon, a detailed explanation! Super luxury!
- 2022-10-17 03:45:02下载
- 积分:1
-
该文描述了C语言表达式的文法,并由该文法生成算符优先矩阵和算符优先函数,讨论了C语言表达式的特点和文法分析过程。...
该文描述了C语言表达式的文法,并由该文法生成算符优先矩阵和算符优先函数,讨论了C语言表达式的特点和文法分析过程。-The paper describes the expression of the C language grammar, grammar generated by the operator priority matrix and operator priority function to discuss the C language features of the expression and grammar analysis.
- 2022-08-16 05:23:38下载
- 积分:1
-
simple hello world example
simple hello world example
- 2023-02-13 09:55:04下载
- 积分:1
-
这是一份实验报告,目的是掌握YACC的使用方法,了解YACC处理二义性的方法。
用YACC等工具生成如下文法表示的表达式对应的计算器
exp...
这是一份实验报告,目的是掌握YACC的使用方法,了解YACC处理二义性的方法。
用YACC等工具生成如下文法表示的表达式对应的计算器
exp->exp + exp | exp - exp| exp * exp |exp / exp |exp ^ exp | - exp |(exp) |NUM
对于输入的表达式,能输出结果。比如:
3 +(4 *5)结果应为23
当出现错误时可以进行错误处理。
-This is a test report, the purpose is to master the use YACC to learn YACC handling of the ambiguity approach. Using tools such as YACC grammar that generates the following expression for the corresponding calculator exp-> exp+ exp | exp- exp | exp* exp | exp/exp | exp ^ exp |- exp | (exp) | NUM expression for the input type, can be output. For example: 3+ (4* 5) the result should be 23 when the error can be error-handling.
- 2022-05-23 10:34:44下载
- 积分:1
-
编译的作业,对词法的分析分类以及发现错误,希望与大家交流,谢谢指教...
编译的作业,对词法的分析分类以及发现错误,希望与大家交流,谢谢指教-Task of Compiler Implementation,To analyse and find error of Lexical,wish to communication with you,thanks.
- 2022-02-03 02:13:05下载
- 积分:1
-
input is a regular expression, you can use : lowercase letters or numbers, said...
输入一个正则表达式,可以使用: 小写字母或数字,表示终结符;*,闭包;+,并集;~,补集;E,空串;O,空集 然后程序将生成 相应的NFA,以及化简之后的DFA,最后再输入一个字符串,程序判断它是否满足该正则表达式-input is a regular expression, you can use : lowercase letters or numbers, said Fu end;* Closure; , And set; To complement the set; E, empty string; O, empty set procedures will then generate the corresponding NFA, and the simplification of the DFA after finally lose into a string, procedures judgment whether it is to meet the regular expression
- 2022-06-14 20:06:53下载
- 积分:1
-
BANYAN emulator driver support USB 2.0/USB1.1 support Win2000/WinXP support SDT...
BANYAN仿真器的驱动
支持USB 2.0/USB1.1
支持Win2000/WinXP
支持SDT 2.51, ADS 1.2, RVDS,Multi2000, CodeWarrior, IAR,GDB/Insight源代码级调试
支持ARM7/ARM9/XScale系列CPU 支持CPU内核类型自动检测 支持多ARM内核处理器
-BANYAN emulator driver support USB 2.0/USB1.1 support Win2000/WinXP support SDT 2.51, ADS 1.2, RVDS, Multi2000, CodeWarrior, IAR, GDB/Insight source-level debugging support ARM7/ARM9/XScale Series CPU core CPU support automatically detect the type of ARM to support multi-core processors
- 2023-06-14 01:45:08下载
- 积分:1