搜索资源列表
pl0
- 1)增加单词:保留字 ELSE,FOR,TO,DOWNTO,RETURN 运算符 +=,-=,++,―― 其中FOR,TO,DOWNTO,RETURN属于选做内容。 (2)修改单词:不等号# 改为 <> (3)增加条件语句的ELSE子句 (4)增加单词:保留字 ELSE,FOR,TO,DOWNTO,REPEAT, DOWHILE, UNTIL。 (5)增加运算:++ 和 --。(已做,前++ 后++ 前-- 后--) (6)其他典型语言设施。
PL0
- 对PL/0原码作以下修改扩充: 增加单词:保留字 ELSE,REPEAT,UNTIL,RETURN 运算符 +=,-=,++,-- (2)修改单词:不等号# 改为 <> (3)增加条件语句的ELSE子句 (1)扩充赋值运算:+= 和 -= (2)扩充语句 REPEAT <语句序列> UNTIL <条件> 其中,<条件>是循环条件,即条件不成立时,重复执行循环体的< 语句序列>; 条件成
20054674552
- 递归子程序法:对应每个非终结符语法单元编一个独立的处理过程(或子程序)。语法分析从读入第一个单词开始,由非终结符<程序>(即开始符)出发,沿语法描述图箭头所指出的方向进行分析。当-Recursive Subroutine law: at the end of the corresponding syntax for each non-unit provision of an independent process (or subprogram). Parsing from the f
PL0
- 编译原理课程设计 PL0 (报告实验和课程设计报告,已经设计方法,步骤) 1. 基本内容 (1)扩充赋值运算:+= 和 -= (2)扩充语句 REPEAT <语句序列> DOWHILE <条件> 其中,<条件>是循环条件,即条件成立时,重复执行循环体的<语句序列> 2. 选做内容 (1)增加运算:++ 和 --。 (2)增加类型:① 字符类型; ② 实数类型。 (3)扩充函数:① 有返回值和返回
czzfw20080112
- <1> 优化了部分代码及一些BUG.提高了浏览速度 <2> 可以通过会员助手自由管理各种信息 <3> 修正了反馈信息及询价订单错误 <4> 增加了自助建站系统(16种模板可选) <5> 增加在线管理开通域名主机邮局系统 <6> 强大的备份功能,可以轻松备份压缩恢复数据 <7> 后台增加验证码和日志功能 <8> 分类管理更详细.更安全 <9>
timer_system
- TurboC 提供了 time() (被定義在 <time.h> 中) 這個函式供我們取得系統時間, 當我們執行了 time(NULL) 時, 該函式便會傳回一個 time_t 型態(被定義在 <time.h> 中) 的數字, 單位是"秒", 所以我們應該先用 time_t 宣告一個變數, 來接收 time() 的傳回值:-TurboC provides the time () (is defined in the <time.h> In) This
LT-Code-MATLAB-Simulation-in-BEC-
- 本源码仿真了删除信道下的编译码性能,结合自己的开发经验及学习体会,具有很高的参考价值-This source simulation the delete channel encoding and decoding performance, combined with its own development experience and learning experience, and has a high reference value
Canbus_v3
- The purpose of this project is a simple and easy to use USB <> CAN bus interface. Heart of the circuit is an Atmel AVR ATmega162 microcontroller which controls the Communication between FTDI FT245BM USB to parallel converter and Philips
scan
- //程序实现C语言词法分析器的设计 //用到的变量 // cch 放当前字符 // q 标志保留字(1:是 0:否) //StrToken 保留字列表 /*C语言中的保留字(32个) auto break case char const continue default do double else enum extern float for goto if int long register retu
lab4
- module counter_modk(clock, reset_n, Q) parameter n = 4 parameter k = 16 input clock, reset_n output [n-1:0] Q reg [n-1:0] Q always @(posedge clock or negedge reset_n) begin if (~reset_n) Q <= d0 else begi
triangular
- making triangular number with c++ using integer #include<stdio.h> int triangular(int a) main() { int x printf("menghitung triangular bilangan\n") printf("masukkan bilangan x= ") scanf(" d",&x) triangular(x)
dossier-projet
- hfuyt_oèy^jfsh<mosod ioùiohefzio
snake
- /*--- --- -----编译过程使用的头文件*/ #include<graphics.h> #include<stdlib.h> #include<dos.h> /*-----------------宏定义用到的数量关系(键盘上、下、左、右按键的值)*/ #define N 200 #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5000
XPBBasic112and117
- XPB!Basic XPB! is a brand new compiler for the 32-bit Windows platform that contains a rich set of features for developingboth GUI and console applications! Features True 32-bit compiler! Create both GUI and console programs! Create
CP_test_1
- 编译原理实验 词法分析 一、实验目的: 通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。 二、实验内容 编制一个能够分析整数、小数、字符串、标识符、分隔符、运算符和关键字的词法分析程序。同时要能过滤行注释和块注释。 三、实验要求 1、词法规则 关键字: if、then、else、while、do、int、float、string、begin、en
Syntax-analysis
- 采用递归下降语法分析方法对输入的字符串进行语法分析,实现对词法程序提供的单词序列的语法检查和结构分析 待分析的Traning语言的语法用扩充的BN表示: 1.<程序>::=function<语句串>endfunc 2.<语句串>::=<语句>{ <语句>} 3.<语句>::=<赋值语句> 4.<赋值语句>::=ID=<表达式> 5.<表达式>::=<
complier
- 北航编译课程大作业,包含源代码,测试程序以及文档。对PL/0编译器作以下修改扩充: (1)增加单词:保留字 ELSE,FOR,TO,DOWNTO,RETURN 运算符 +=,-=,++,―― 其中FOR,TO,DOWNTO,RETURN属于选做内容。 (2)修改单词:不等号# 改为 <> (3)增加条件语句的ELSE子句 -Northern compile operations courses, including source code, test proc
PL0
- pl0拓展文法的编译器,包含实验报告、源码和测试程序。对PL0原编译器进行了以下的扩充:1. 增加以下保留字 else(elsesym), for(forsym),to(tosym),downto(downtosym), return(returnsym),[(lmparen),](rmparen) 2. 增加了以下的运算符: +=(eplus),-=(eminus),++(dplus),--(dminus) 取址运算符&(radsym),指向运算符@(padsym) 3
Untitled2
- 喷泉码 LT码 编译码过程 BP译码方法 高斯信道 -Fountain code LT coding-decoding process BP decoding method based on Gaussian channel
LT1
- LT码编译码过程 BP译码 BER性能 高斯信道-LT coding-decoding process BP decoding BER performance of Gaussian channel