-
This procedure is used c# Write a compiler, the realization of the lexical, synt...
本程序是用c#写的一个编译器,实现了词法,语法,语义分析和中间代码生成,输出结果功能-This procedure is used c# Write a compiler, the realization of the lexical, syntax, semantic analysis and code generation between, the output function
- 2022-08-09 05:27:50下载
- 积分:1
-
简单的词法分析,可以识别关键字错误,识别无效符号等等,通用!...
简单的词法分析,可以识别关键字错误,识别无效符号等等,通用!-Simple lexical analysis to identify the wrong keywords, identify invalid symbols and so on, General!
- 2022-03-03 08:16:24下载
- 积分:1
-
The translation principle
编译原理--词法扫描- The translation principle-- morphology scans
- 2022-02-15 19:23:32下载
- 积分:1
-
一般的FOrtran程序编译器只能检查一般的错误,而这个软件可以起到一般编译器不能起到的错误检查、程序优化作用。...
一般的FOrtran程序编译器只能检查一般的错误,而这个软件可以起到一般编译器不能起到的错误检查、程序优化作用。-Ftnchek (short for Fortran checker) is designed to detect certain
errors in a Fortran program that a compiler usually does not. Ftnchek
is not primarily intended to detect syntax errors. Its purpose is to
assist the user in finding semantic errors. Semantic errors are legal
in the Fortran language but are wasteful or may cause incorrect
operation. For example, variables which are never used may indicate
some omission in the program uninitialized variables contain garbage
which may cause incorrect results to be calculated and variables
which are not declared may not have the intended type.
Ftnchek is written in C. To build ftnchek, you must have a C compiler
for the machine on which you wish to build it. The URL for ftnchek s
home page is http://www.dsm.fordham.edu/~ftnchek. Source code, binary
executables for some platforms, and other information are available
there.
- 2022-10-03 22:40:03下载
- 积分:1
-
一个使用Lex编写的C语言词法加亮的小程序。能将指定的C源程序进行词法加亮,并以HTML文件的格式输出。 由Lex的C语言词法分析程序,然后使用VC编译,内附较...
一个使用Lex编写的C语言词法加亮的小程序。能将指定的C源程序进行词法加亮,并以HTML文件的格式输出。 由Lex的C语言词法分析程序,然后使用VC编译,内附较详细的使用说明。-Lex prepared to use a C-plus morphology of small programs. Can designated source for the C-plus morphology, and the HTML file format. Lex from the C language lexical analysis procedure and then use the VC compiler, enclosing a more detailed usage instructions.
- 2022-03-02 01:56:36下载
- 积分:1
-
在GF(8)域内,实现RS码编码和解码,可以改动参数,适应不同的系统要求...
在GF(8)域内,实现RS码编码和解码,可以改动参数,适应不同的系统要求
- 2022-02-03 02:21:10下载
- 积分:1
-
一个c++de的词法分析此程序可以通过读一个文本文件来进行词法分析...
一个c++de的词法分析此程序可以通过读一个文本文件来进行词法分析-a lexical analysis of this procedure can read a text file for lexical analysis
- 2022-08-12 23:18:30下载
- 积分:1
-
语法分析.h,对一个文法给以判断所给的句子是不是文法所生成的。...
语法分析.h,对一个文法给以判断所给的句子是不是文法所生成的。- The grammar analysis h, gives the sentence to a grammar which
the judgement gives is the grammar produces.
- 2022-01-25 22:19:44下载
- 积分:1
-
用汇编和C写的32位C语言编译器,支持C++,也可编译Windows程序和DLL文件...
用汇编和C写的32位C语言编译器,支持C++,也可编译Windows程序和DLL文件- 32 C language compiler write which with the assembly and C,
supports C, also may translate the Windows procedure and the DLL
document
- 2022-02-21 14:46:37下载
- 积分: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