CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - status
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
assembly language
SCSI-ASPI
ELanguage
Disk Tools
Speech/Voice recognition/combine
Editor
Anti-virus
MultiLanguage
MPI
source in ebook
Delphi VCL
OS Develop
MiddleWare
MacOS develop
LabView
e-language
python
Search - status - List
[
ELanguage
]
词法分析Lex
DL : 1
名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language function: 1)Extract all lexems from C Language source code 2)Examine the syntax errors of the program and provide the line number of error line and note 3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file.
Date
: 2008-10-13
Size
: 188kb
User
:
张永胜
[
ELanguage
]
WANG词法分析-编译
DL : 0
一个简单的词法分析器,1代表字符,2代表关键字(命令字),4带表算符界符, 注:要把wangs.txt这个文件放在桌面上,然后在这个TXT里写上你要识别的语句。然后保存后关毕,在运行WANG词法分析.EXE进行词法分析。 完成识别后,会在相应的词面前出现以上代号。暂不能对数字进行识别。因为在某种请况下数字也可表是为字符……稍有困难,但完成老师的针对程序段:area=b+c*d。那简直是小菜一碟。-a simple lexical analyzer, a representative character, the two representatives keyword (command word), with four tables operator sector website Note : The wangs.txt the document on the desktop, then the TXT Lane write you to identify words. Then preserved customs Albert, running WANG lexical analysis. EXE for lexical analysis. After completing the identification, in the appropriate words appear in front of the above code. Provisional figures for the right not to identify. Because of the status of requests under certain figures might be for the characters ... the slightest difficulty, but the completion of procedural teachers : area = b, c * d. It is simply to touch.
Date
: 2008-10-13
Size
: 11.26kb
User
:
linlins
[
ELanguage
]
词法分析Lex
DL : 0
名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language function: 1)Extract all lexems from C Language source code 2)Examine the syntax errors of the program and provide the line number of error line and note 3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file.
Date
: 2025-12-24
Size
: 188kb
User
:
张永胜
[
ELanguage
]
WANG词法分析-编译
DL : 0
一个简单的词法分析器,1代表字符,2代表关键字(命令字),4带表算符界符, 注:要把wangs.txt这个文件放在桌面上,然后在这个TXT里写上你要识别的语句。然后保存后关毕,在运行WANG词法分析.EXE进行词法分析。 完成识别后,会在相应的词面前出现以上代号。暂不能对数字进行识别。因为在某种请况下数字也可表是为字符……稍有困难,但完成老师的针对程序段:area=b+c*d。那简直是小菜一碟。-a simple lexical analyzer, a representative character, the two representatives keyword (command word), with four tables operator sector website Note : The wangs.txt the document on the desktop, then the TXT Lane write you to identify words. Then preserved customs Albert, running WANG lexical analysis. EXE for lexical analysis. After completing the identification, in the appropriate words appear in front of the above code. Provisional figures for the right not to identify. Because of the status of requests under certain figures might be for the characters ... the slightest difficulty, but the completion of procedural teachers : area = b, c* d. It is simply to touch.
Date
: 2025-12-24
Size
: 11kb
User
:
linlins
[
ELanguage
]
arrays
DL : 0
how to add arrays * Use of const (constant) values. * Creation of vectors. * Passing vectors as function arguments. * Reading from files of unknown size (monitoring istream status). * Repetitive structures (while and for loops). * The increment operators (++). * Selection structures (if-else statements). * Use of the .size, .empty, .begin, .insert, .erase, .resize, .clear and .swap vector class member functions. -how to add arrays * Use of const (constant) values. * Creation of vectors. * Passing vectors as function arguments. * Reading from files of unknown size (monitoring istream status). * Repetitive structures (while and for loops). * The increment operators (++). * Selection structures (if-else statements). * Use of the .size, .empty, .begin, .insert, .erase, .resize, .clear and .swap vector class member functions.
Date
: 2025-12-24
Size
: 1kb
User
:
satwinder
[
ELanguage
]
cifafenxi
DL : 0
简单词法分析器构造在开始状态,首先要读进一个字符。若读入的是一个空格(包括blank,tab,newline)就跳过它,再继续读字符,直到读进一个非空字符为止。 在标识符状态,识别并组合出一个标识符之后,还必须加入一些动作,以便查保留字表,确定识别出的单词符号是保留字,还是用户自定义标识符,并输出相应的记号。 在无符号数状态,可识别出各种常数,包括整数在内。在组数的同时,还要做从十进制数到二进制数的转换。 -A simple lexical analyzer constructed at the beginning of the state, first of all to read into a character. If the read is a space (including the blank, tab, newline) will skip it, and then continue to read characters until the time into a non-empty character so far. In the identifier state, to identify and assemble an identifier, you must also add some actions in order to check a reserved word table to determine the identify of the word symbols are reserved words, or user-defined identifier, and output the corresponding symbol. In the unsigned status, can identify a variety of constants, including the integer included. In the group number, we must also do a number from decimal to binary number conversion.
Date
: 2025-12-24
Size
: 3kb
User
:
WM
[
ELanguage
]
3
DL : 0
Prints the latest status!
Date
: 2025-12-24
Size
: 1kb
User
:
Pachi
[
ELanguage
]
344556775444
DL : 0
跟踪问题本质上是一个混合系统的状态估计问题[38】,即利用传感器的离散 观测来估计所感兴趣区域内目标个数和状态的过程,其中目标状态包括运动分量 (位置、速度、加速度)和属性信息(信噪比、谱特征,身份信息等)。目标跟 踪问题根据跟踪环境的不同可以分为单机动目标跟踪和多机动目标跟踪。-Tracking is essentially a hybrid system of the state estimation problem [38】, namely the use of sensors to estimate the discrete observation target region of interest number and status of the process, which includes movement component target state (position, velocity, acceleration) and attribute information (signal to noise ratio, spectral characteristics, status information, etc.). Target tracking problem based on tracking the environment can be divided into single-target tracking, and multi-target tracking.
Date
: 2025-12-24
Size
: 483kb
User
:
fanlianxiang
[
ELanguage
]
LR-parser
DL : 0
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-24
Size
: 208kb
User
:
浮云
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.