Location:
Search - SEED 13
Search list
Description: 中文版SED1335控制器图形液晶显示模块使用手册-Chinese version of SED1335 Graphics LCD Controller Module User
Platform: |
Size: 676864 |
Author: hjhwsk |
Hits:
Description: 计算机图像学中的简单实用的种子填充扫描线算法-Simple and practical in the seed in the school of computer image to fill the scan line algorithm
Platform: |
Size: 211968 |
Author: 袁剑 |
Hits:
Description: 郭天祥10天学会PIC01-13 BT种子下载-Tianxiang Guo 10 days 10 days to learn PIC01-13 Tianxiang Guo learn PIC01-13 BT seed download
Platform: |
Size: 185344 |
Author: 小兵 |
Hits:
Description: SEED Cipher Algorithm for Linux v2.13.6.
Platform: |
Size: 6144 |
Author: meihnging |
Hits:
Description: 2.1 待分析的简单的词法
(1)关键字:
begin if then while do end
所有的关键字都是小写。
(2)运算符和界符
: = + - * / < <= <> > >= = ; ( ) #
(3)其他单词是标识符(ID)和整型常数(SUM),通过以下正规式定义:
ID = letter (letter | digit)*
NUM = digit digit*
(4)空格有空白、制表符和换行符组成。空格一般用来分隔ID、SUM、运算符、界符
1 :
2 :=
3 <
4 <>
5 <=
6 >
10 >=
11 =
13 ;
14 (
15 )
和关键字,词法分析阶段通常被忽略。
2.2 词法分析程序的功能:
输入:所给文法的源程序字符串。
输出:二元组(syn,token或sum)构成的序列。
其中:syn为单词种别码;
token为存放的单词自身字符串;
sum为整型常数。
例如:对源程序begin x:=9: if x>9 then x:=2*x+1/3; end #的源文件,经过词法分析后输出如下序列:
(1,begin)(10,x)(18,:=)(11,9)(26,;)(2,if)……(The function of the lexical analysis program:
Input: the source code string for the grammar.
Output: a sequence of two tuples (syn, token, or sum).
Among them: SYN is a word seed code;
Token is the character string of the word that is stored.
Sum is an integer constant.
For example: begin x:=9: if x>9 then source program x:=2*x+1/3; end # source files, after lexical analysis and output sequences are as follows:
(1, begin) (10, x) (18, = =) (11,9) (26,;) (2, if)...)
Platform: |
Size: 3268608 |
Author: 帅帅的风
|
Hits: