码迷,mamicode.com
首页 >  
搜索关键字:syn    ( 4254个结果
词法分析C语言
#include <stdio.h> #include <string.h> char prog[80],token[8],ch; int syn,p,m,n,sum; char *keyword[6]={"begin","if","then","while","do","end"}; void g ...
分类:编程语言   时间:2016-10-13 14:22:09    阅读次数:138
linux网络完全与防护
7.1 网络封包联机进入主机的流程 7.1.1 封包进入主机的流程 1.经过防火墙的分析 iptables 主要功能是封包过滤 主要分析TCP/IP的封包表头来进行过滤的机制 分析的是OSI的第二三四层,主要控制的就是 MAC,IP,ICMP,TCP,UDP的端口与状态(SYN,ACK...) tc ...
分类:系统相关   时间:2016-10-12 16:39:29    阅读次数:428
词法分析-219范楚广
#include <stdio.h>#include <string.h>char prog[80],token[8],ch;int syn,p,m,n,sum;char *rwtab[6]={"begin","if","then","while","do","end"};scaner();main ...
分类:其他好文   时间:2016-10-08 11:15:59    阅读次数:121
词法编译-201506110151-董广枢
#include<stdio.h> #include<string.h> #include<iostream.h> char prog[80],token[8]; char ch; int syn,p,m=0,n,row,sum=0; char *rwtab[6]={"begin","if","th ...
分类:其他好文   时间:2016-10-01 17:19:06    阅读次数:139
词法分析程序
1.词法分析程序的功能: 输入:所给文法的源程序字符串。 输出:二元组构成的序列。 其中:syn为单词种别码。 token为存放的单词自身字符串。 2.符号与种别码的对照表 3.词法规则 <字母> A a|b|c|……y|z<数字> A→1|2|3|4|5|6|7|8|9S→A|SA|SA0 <整数 ...
分类:其他好文   时间:2016-10-01 00:21:42    阅读次数:257
词法分析
恢复内容开始 词法分析程序的功能 输入:所给文法的源程序字符串 输出:二元组(syn,token或sum)构成的序列 其中syn为单词种别码;token为存放的单词自身字符串;sum为整形常数。 例如:对源程序begin x=9;if x>9 then x:=2*x+|/3;end#的源文件,经过词 ...
分类:其他好文   时间:2016-10-01 00:20:32    阅读次数:157
词法分析
#include <stdio.h> #include <string.h> #include <conio.h> #include <ctype.h> char prog[80]={'\0'},token[8]; char ch; int syn,n,sum,m,p; char *rwtab[6] ...
分类:其他好文   时间:2016-10-01 00:08:16    阅读次数:125
词法分析程序
一、功能 输入:所给文法的源程序字符串。 输出:二元组(syn,token 或sum)构成的序列。 其中:syn为单词种别码; token为存放的单词自身字符串; sum为整型常数。 二、符号与种别码对照表 单词符号 种别码 单词符号 种别码 begin 1 : 17 If 2 := 18 Then ...
分类:其他好文   时间:2016-09-30 23:59:38    阅读次数:413
词法分析程序的功能
输入:所给文法的源程序字符串。 输出:二元组(syn,token或sum)构成的序列。 其中:syn为单词种别码; token为存放的单词自身字符串; sum为整型常数。 ...
分类:其他好文   时间:2016-09-30 23:42:31    阅读次数:157
词法分析
#include <stdio.h>#include <string.h>#define MAX 100main(){ int i,j,m,n,syn; char standard[6][10]={"begin","if","then","while","do","end"},string[MAX] ...
分类:其他好文   时间:2016-09-30 23:26:16    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!