-
大学课程设计之编译原理 词法分析
大学课程设计之编译原理 词法分析- College course translation principle lexical analysis design
- 2022-07-21 00:14:05下载
- 积分: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
-
词法分析器 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值...
词法分析器 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值在一定区间进行区分(使用if语句来判断),分开来后,对其所在ASCII值区间的不同,给予以不同的属性(比如:系统保留字…),词法分析器完成后要能识别+,-,=等字符。-lexical analyzer on the importation procedures for analysis, keyword, the word reservation system with separate identifier, and a description of their attributes. The establishment of an array, you read the word, the right word ASCII judgment, in ASCII value in a certain area and distinguish between (use to determine if statements), separately, its value lies ASCII range of different, to give a different properties (such as : system retain the word ...), after the completion of a lexical analyzer to identify,-, =, etc. characters.
- 2022-02-26 09:14:02下载
- 积分:1
-
正则式到有穷自动机 最近刚学了编译原理 搞出来得这个东西
正则式到有穷自动机 最近刚学了编译原理 搞出来得这个东西-to DFA has recently compiled a study of the principles of producing more things
- 2022-06-15 14:07:55下载
- 积分:1
-
NEC 78k0 LX3系列的LCD 电压电流的显示表
NEC 78k0 LX3系列的LCD 电压电流的显示表-NEC 78k0 LX3 series of LCD voltage and current display table
- 2023-03-26 05:40:03下载
- 积分:1
-
如果有人学习单片机,不如msp430,可以看看这些资料,对其学习很有用...
如果有人学习单片机,不如msp430,可以看看这些资料,对其学习很有用
-If someone learning single-chip, it is better to msp430, can look at such information useful to their learning
- 2022-02-03 19:56:15下载
- 积分:1
-
对简单的C程序或者Pascal程序进行词法分析
对简单的C程序或者Pascal程序进行词法分析以TOKEN字的形式放入结果文件-of simple C program or Pascal procedures lexical analysis in the form of the word TOKEN Add outcome document
- 2023-04-26 18:25:03下载
- 积分:1
-
算符优先分析过程模拟 希望给大家帮助
算符优先分析过程模拟 希望给大家帮助-算符优先分析过程模拟
- 2022-08-09 22:00:45下载
- 积分:1
-
编译原理的ll(1)的文法
挺好用的饿
编译原理的ll(1)的文法
挺好用的饿-Compiler Construction Principles of the ll (1) of the hungry with good grammar
- 2022-10-01 12:30:03下载
- 积分: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