Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 9-1 9-2
Search - 9-1 9-2 - List
DL : 0
一个能够分析三种整数、标识符、主要运算符和主要关键字的词法分析程序。 ㈠、基本要求: 标识符 <字母>(<字母>|<数字字符>)* 十进制整数 0 | (1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)* 八进制整数 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六进制整数 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)* 运算符和分隔符 + - * / > < = ( ) ; 关键字 if then else while do ㈡、附加要求: 标识符 <字母>(<字母>|<数字字符>)*(ε|_|.)(<字母>|<数字字符>)* 十进制整数 (0|1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*(ε|.)(0|1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)* 八进制整数 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* (ε|.)(0|1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六进制整数 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)* (ε|.) (0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)*
Date : 2008-10-13 Size : 169.24kb User : seker


Date : 2025-12-25 Size : 194kb User : zeiming

DL : 0
shpf 1.9一个并行编译器,自动的将串行fortran程序转换成并行的mpi程序。-shpf 1.91 parallel compilers, are automatic transform the serial fortran procedure the parallel mpi procedure.
Date : 2025-12-25 Size : 1.73mb User : 刘雷

DL : 0
(2,1,9)卷积码的一个查找表,用与(2,1,9)卷积码的编码,可以根据寄存器的状态来判别输出数.-(2,1,9) convolutional code a lookup table, using and (2,1,9) convolutional code encoding may be based on the state register to determine the number of output.
Date : 2025-12-25 Size : 204kb User : LIN

DL : 0
一个能够分析三种整数、标识符、主要运算符和主要关键字的词法分析程序。 ㈠、基本要求: 标识符 <字母>(<字母>|<数字字符>)* 十进制整数 0 | (1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)* 八进制整数 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六进制整数 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)* 运算符和分隔符 + - * / > < = ( ) ; 关键字 if then else while do ㈡、附加要求: 标识符 <字母>(<字母>|<数字字符>)*(ε|_|.)(<字母>|<数字字符>)* 十进制整数 (0|1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*(ε|.)(0|1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)* 八进制整数 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* (ε|.)(0|1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六进制整数 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)* (ε|.) (0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)* -err
Date : 2025-12-25 Size : 169kb User : seker

DL : 0
ADS 1.2 Arm developer stuite. Arm开发必须的工具.-ADS 1.2 Arm developer stuite. Arm development tools necessary.
Date : 2025-12-25 Size : 1.19mb User : hakeqin

jakarta-oro-2.0.8 正则表达式 引擎 源代码-jakarta-oro-2.0.8 regular expression engine source code
Date : 2025-12-25 Size : 579kb User : 袁东

DL : 0
1、本系统采用经典ASP+ACC/SQL编写,适合绝大多数网站使用 2、采用DIV+CSS设计,减少页面体积,提高搜索引擎的友好程度 3、符合W3C国际标准,兼容所有浏览器 4、采用Ajax流设计,提高系统系能 5、一键式安装,更加方便使用 6、大数据代码优化,性能提高,运行更稳定 7、所有运行参数后台可选,符合个性化展示 8、ReWrite静态设计,既实现了静态的要求,又可以动态展现数据并减少空间占用 9、功能强大而又美观的个人中心,迎合不同访问者的需求 10、可视化模板定制,方便统一整合模板 11、注册功能可选 -err
Date : 2025-12-25 Size : 5.26mb User : gxlxlg

DL : 0
包括: 1、校内新闻:发表有关本校的校内新闻; 2、视听平台:管理员可以从后台添加FLASH、Mp3、RM、 WAV、MID、asf、mpg等音乐、影视、动画文件; 3、软件下载:当前流行的或需要的一些软件提供的下载; 4、精萃美文:本校师生投稿或从网上摘录的一些好文章; 5、网页制作特效:提供学生学习网页的一些小特效; 6、本校影像:师生合影、活动主题的一些照片; 7、师生网站赏析:用于展示我校师生自已的网站; 8、校内留言:访客或师生对学校建议留言区; 9、友情链接:友情链接; 10、校内论坛:网上流行的一个BBSXP的论坛,可随意设 各个版块,比如年级、教职工专区等版块。-err
Date : 2025-12-25 Size : 2.79mb User : dsfs

1 )收件符合特定语法语法分析和属性文法。 ( 2 )完成的科目要求的中间代码的描述三个地址。 ( 3 )写的语法某一思想的分析,完成解析和语义分析节目。 ( 4 )良好的分析,编制过程中,设计了一些使用情况下,试验的设计通过分析程序。 ( 5 )的设计,附件所要求的报告写作格式。课程设计报告正文应包括以下内容: 1系统描述(描述问题域) 2属性文法和语法的描述 3描述了语法分析和语法分析设计 4给出了说明的形式,中间代码和中间代码序列的结构设计 5 ,简要的分析和设计 6的详细描述算法(流程图或伪码) 7给出了软件测试方法和测试结果 8发展报告(开发过程中,评价的设计,特点,缺乏收获和经验,等等) 9引用(根据规范出版书面) 。-1) write in line with the given grammar syntax analysis and attribute grammar. (2) complete the subject requirements of the intermediate code that the description of the three addresses. (3) to write the syntax of a given ideological analysis, the completion of parsing and semantic analysis of programming. (4) a good analysis of the preparation process, the design of a number of use cases, test the design through the analysis procedure. (5) the design of the annex to the report requested by writing format. Curriculum design of the body of the report should include: 1 System description (description of the problem domain) 2 attribute grammar and the description of grammar 3 describes the syntax analysis and syntax analysis of the design 4 gives a description of the form of intermediate code and intermediate code sequence of the structural design 5, a brief summary of the analysis and design 6 a detailed description of the algorithm (flow chart or pseudo code)
Date : 2025-12-25 Size : 346kb User : 王福源

Tiny C compiler ver. 0.9.24
Date : 2025-12-25 Size : 274kb User : 胡先生

asn1c 0.9.22 windows版本-asn1c 0.9.22 for windows.
Date : 2025-12-25 Size : 11.91mb User : songjin

Dvd to AVI DVD2AVI is based on MSSG MPEG2Decode-1. GUI interface (gui.cpp) 2. VFAPI support (vfapi.c vfapidec.c) 3. AC3/MPA/LPCM demux (getbit.c) 4. Auto-split AVI output through RGB24/YUY2 (store.c) 5. YUY2 DirectDraw Overlay (store.c gui.cpp) 6. revised I/O routine (getbit.c getbic.h) 7. MMX-optimized motion compensation (recon.c getpic.c) 8. MMX-optimized color space conversion (store.c) 9. audio normalization (norm.c)
Date : 2025-12-25 Size : 154kb User : 李林

LL(1)语法分析器设计 1.如下为给定的LL(1)文法。 G[<P>]: 1) <P>->program <D> : <T> begin <S> end {program} 2) D->i D’ {i} 3) D’->, i D’ {,} 4) D’->ε {:} 5) S->s S’ {s} 6) S’-> s S’ { } 7) S’->ε {end} 8) T->real {real} 9) T->integer {integer} 其中右侧{}内为产生的可选集。 2.调试并完善如下给出的文法的LL(1)分析器示例程序,并设输入的文法的句子为: program i , i , i : integer begin s s s end 给出输出结果并进行分析说明。 -1. Below for a given LL (1) grammar. G [<P>]: 1) <P>-> program <D>: <T> begin <S> end {program} 2) D-> i D {i} 3) D ->, i D {,} 4) D -> ε {:} 5) S-> s S {s} 6) S -> s S { } 7) S -> ε {end} 8) T-> real {real} 9) T-> integer {integer} {} within which the right to produce an optional set. 2. Debug and improve the grammar given in the following LL (1) analyzer sample program, and set the input sentence is the grammar: program i, i, i: integer begin s s s end Output and analysis are given instructions.
Date : 2025-12-25 Size : 186kb User : 浮云

算符优先分析器设计 给定定义算术表达式的算符优先文法如下: G[E]: (1)E->E+T (2)E->E-T (3) E->T (4)T->T*F (5)T->T/F (6)T->F (7)F->P^F (8)F->P (9)P->(E) (10)P->i 编程实现此文法的算法优先分析器,并设输入的文法的句子为: (i*(i+i)-i )/i^i^i 给出输出结果 -Design of operator precedence parser Given the definition of operator precedence grammar arithmetic expressions are as follows: G [E]: (1) E-> E+ T (2) E-> E-T (3) E-> T (4) T-> T* F (5) T-> T/F (6) T-> F (7) F-> P ^ F (8) F-> P (9) P-> (E) (10) P-> i Programming algorithm for precedence parser article law, and set the input of the grammar of the sentence is: (i* (i+ i)-i)/i ^ i ^ i Given output
Date : 2025-12-25 Size : 194kb User : 浮云

LR分析器设计 给定说明语句的拓广文法G[S ]如下: (0) S ->S (1) S->v I:T (2) I->I,i (3) I->i (4) T->r 其中v代表终结符var,r代表real。 其识别规范句型活前缀的DFA及LR(0)分析表如下: 输入 状态 ACTION表 GOTO表 v i , : r # S I T 0 S2 1 1 acc 2 S4 3 3 S6 S5 4 r3 r3 r3 r3 r3 r3 5 S9 8 6 S7 7 r2 r2 r2 r2 r2 r2 8 r1 r1 r1 r1 r1 r1 9 r4 r4 r4 r4 r4 r4 编程实现此文法的LR分析器,并设输入的文法的句子为: var i , i , i : real 给出输出结果 -LR parser design Given that statement, The Extension of the grammar G [S ] as follows: (0) S -> S (1) S-> v I: T (2) I-> I, i (3) I-> i (4) T-> r One representative of terminator v var, r representative of real. Living patterns of its identification Specification prefix DFA and LR (0) analysis as follows: Input GOTO table table status ACTION v i,: r# S I T 0 S2 1 1 acc 2 S4 3 3 S6 S5 4 r3 r3 r3 r3 r3 r3 5 S9 8 6 S7 7 r2 r2 r2 r2 r2 r2 8 r1 r1 r1 r1 r1 r1 9 r4 r4 r4 r4 r4 r4 Programming LR parser article law, and set the input sentence is the grammar: var i, i, i: real Given output
Date : 2025-12-25 Size : 208kb User : 浮云

DL : 0
本程序基于PL0源码, 完成以下内容: (1) 增加单词:保留字 ELSE,REPEAT,UNTIL,RETURN 运算符 +=,-=,++,-- (2) 修改单词:不等号# 改为 <> (3) 增加条件语句的ELSE子句 (4) 扩充赋值运算:+= 和 -= (5) 扩充语句 REPEAT <语句序列> UNTIL <条件> 其中,<条件>是循环条件,即条件不成立时,重复执行循环体的< 语句序列>; 条件成立时,循环结束。 (6) 增加运算:++ 和 --。 (7) 增加类型:① 字符类型; 。 (8) 扩充函数:① 有返回值和返回语句;。 (9) 增加一维数组类型(增加指令)。 (10) 扩充for语句 for(<语句>{,<语句>} 条件 表达式) <语句> (11) 扩充赋值运算符*=和-= (12) 增加可以识别单行注释”//”和多行注释”/********/” (13) 增加编译器的可视化界面 (14) 增加显示出错代码及原因 -This program is based on the the PL0 source, Complete the following: (1) to increase the word: reserved word ELSE, REPEAT, UNTIL, RETURN Operator+ =,- =,+,- (2) modify the words: inequality# changed <> (3) increase in the ELSE clause of conditional statement (4) expand the assignment operator:+ = and- = (5) expansion of the statements REPEAT <Sequence of statements UNTIL <condition> Conditions which, <> is the loop condition, ie, when the condition does not hold, repeat the loop body <sequence of statements> conditions are true, the loop ends. (6) increase in computing:++ and-. (7) increase the types: (1) character type (8) expansion function: ① the return value and return statement (9) increase in one-dimensional array type (increase instruction). (10) expansion of the for statement for (<statement> {<statement>} conditions expression) <Statement> (11) to expand the assignment operator*
Date : 2025-12-25 Size : 119kb User : 潘志敏

DL : 0
driving 7 segment led, use avrstudio software.
Date : 2025-12-25 Size : 11kb User : Linh

1) Write a C++ program that receives a single letter and prints out the corresponding digit on the telephone. The letters and digits on a telephone are grouped this way: (30 points) 2= ABC 3 = DEF 4 = GHI 5 = JKL 6 = MNO 7 = PRS 8 = TUV 9 = WXY No digit corresponds to either Q or Z. For these 2 letters your program should print a message indicating that they are not used on a telephone. The program may operate like this: Enter a single letter and you will get the corresponding digit on the telephone: R The digit 7 corresponds to the letter R on the telephone Another example: Enter a single letter and you will get the corresponding digit on the telephone: Z There is no digit on the telephone that corresponds to Z NOTE: Your program should accept only uppercase letters (appropriate error message for special characters or lowercase letters) Also write a loop that lets user to insert his/her letters, until the character (“$”) is entered. -1) Write a C++ program that receives a single letter and prints out the corresponding digit on the telephone. The letters and digits on a telephone are grouped this way: (30 points) 2= ABC 3 = DEF 4 = GHI 5 = JKL 6 = MNO 7 = PRS 8 = TUV 9 = WXY No digit corresponds to either Q or Z. For these 2 letters your program should print a message indicating that they are not used on a telephone. The program may operate like this: Enter a single letter and you will get the corresponding digit on the telephone: R The digit 7 corresponds to the letter R on the telephone Another example: Enter a single letter and you will get the corresponding digit on the telephone: Z There is no digit on the telephone that corresponds to Z NOTE: Your program should accept only uppercase letters (appropriate error message for special characters or lowercase letters) Also write a loop that lets user to insert his/her letters, until the character (“$”) is entered.
Date : 2025-12-25 Size : 328kb User : cbobert

1、根据以下的正规式,编制正规文法,画出状态图; 标识符 <字母>(<字母>|<数字字符>)* 十进制整数 0 | ((1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*) 八进制整数 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六进制整数 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)* 运算符和界符 + - * / > < = ( ) ; 关键字 if then else while do 2、根据状态图,设计词法分析函数int scan( ),完成以下功能: 1)从文本文件中读入测试源代码,根据状态转换图,分析出一个单词, 2)以二元式形式输出单词<单词种类,单词属性> 其中单词种类用整数表示: 0:标识符 1:十进制整数 2:八进制整数 3:十六进制整数 运算符和界符,关键字采用一字一符,不编码 其中单词属性表示如下: 标识符,整数由于采用一类一符,属性用单词表示 运算符和界符,关键字采用一字一符,属性为空 3、编写测试程序,反复调用函数scan( ),输出单词种别和属性。-1、根据以下的正规式,编制正规文法,画出状态图; 标识符 <字母>(<字母>|<数字字符>)* 十进制整数 0 | ((1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*) 八进制整数 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六进制整数 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)* 运算符和界符 + - * / > < = ( ) ; 关键字 if then else while do 2、根据状态图,设计词法分析函数int scan( ),完成以下功能: 1)从文本文件中读入测试源代码,根据状态转换图,分析出一个单词, 2)以二元式形式输出单词<单词种类,单词属性> 其中单词种类用整数表示: 0:标识符 1:十进制整数 2:八进制整数 3:十六进制整数 运算符和界符,关键字采用一字一符,不编码 其中单词属性表示如下: 标识符,整数由于采用一类一符,属性用单词表示 运算符和界符,关键字采用一字一符,属性为空 3、编写测试程序,反复调用函数scan( ),输出单词种别和属性。
Date : 2025-12-25 Size : 2kb User : 忆昔
« 12 3 4 5 6 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.