-
C语言词法分析器 by wpc_LK
这是一个简单的词法分析器,不能避免的存在错误请大家指出予以纠正,谢谢!
示例语句
include<st...
C语言词法分析器 by wpc_LK
这是一个简单的词法分析器,不能避免的存在错误请大家指出予以纠正,谢谢!
示例语句
include
int main{
int a=3,b=4,c
if((a+b)==7)c=1
else c=0
return 0 }
输入 exit 退出程序。-C language lexical analyzer by wpc_LK
This is a simple lexical analyzer can t avoid that there re some errors here,please correct, thank you!
for exzample:
include
int main{
int a=3,b=4,c
if((a+b)==7)c=1
else c=0
return 0 }
input exit quit the program.
- 2022-01-22 06:15:36下载
- 积分: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
-
一个超级经典的词法和语法分析程序(附加源代码).从词法分析的输出过渡到语法分析...
一个超级经典的词法和语法分析程序(附加源代码).从词法分析的输出过渡到语法分析-a super classic morphology and syntax analysis program (Additional source code). Lexical analysis from the output transition to the syntax analysis
- 2022-03-11 20:06:27下载
- 积分:1
-
有穷自动机识别源码
有穷自动机识别源码- Has the poor automaton recognition source code
- 2023-08-31 10:45:03下载
- 积分:1
-
linux shell 得词法分析器,用于shell的命令解释。
linux shell 得词法分析器,用于shell的命令解释。-linux shell a lexical analyzer for the shell command interpreter.
- 2023-02-09 13:40:04下载
- 积分:1
-
source for the program source code files directory exe executable file for the d...
source 为程序源代码文件目录
exe 为可执行文件目录
pics 为所有处理好的图片的目录
需要预先安装MinGW
MinGW为Mini Gnu for Windows
里面包含gcc for windows的编译器
将其拷贝值某目录,然后设置环境变量
path x:MinGWin
即可通过gcc(g++)命令进行编译-source for the program source code files directory exe executable file for the directory of pics for all deal with the need for a good picture of the catalog pre-installed MinGWMinGW for Mini Gnu for Windows which contains gcc for windows compiler to copy the value of a certain directory, and then set the environment variable path x: MinGW in you through the gcc (g++) command to compile
- 2022-07-22 12:54:55下载
- 积分:1
-
A VisualC++ Realize the C
一个VisualC++实现的C-语言的编译器-A VisualC++ Realize the C-language compiler
- 2022-07-02 02:14:29下载
- 积分:1
-
dropped by recursive approach to design their own compiler, generating PL/0 Stac...
按递归下降方式设计其编译程序,生成PL/0栈式指令代码,然后解释执行。用(a=1)+2*(b=3+4*5)/2+2*a*b-(a=a+5)/ (c=2) 测试-dropped by recursive approach to design their own compiler, generating PL/0 Stack-code instructions, and then the interpretation and implementation. Using (a = 1) 2* (b = 3 4* 5)/2* a* b- (a = 5 a)/(c = 2) Testing
- 2022-01-25 23:49:31下载
- 积分:1
-
自己编的一个小程序,供大家参考,有不足之处请提意见。
自己编的一个小程序,供大家参考,有不足之处请提意见。-A small program is writed by myself,supply with you,please give me opinion.
- 2022-03-03 08:45:28下载
- 积分:1
-
这是关于一个剧本
this is about a script
- 2022-03-25 04:33:20下载
- 积分:1