搜索资源列表
PL0
- 对PL/0原码作以下修改扩充: 增加单词:保留字 ELSE,REPEAT,UNTIL,RETURN 运算符 +=,-=,++,-- (2)修改单词:不等号# 改为 <> (3)增加条件语句的ELSE子句 (1)扩充赋值运算:+= 和 -= (2)扩充语句 REPEAT <语句序列> UNTIL <条件> 其中,<条件>是循环条件,即条件不成立时,重复执行循环体的< 语句序列>; 条件成
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
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
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
test1
- 1.1输入输出 程序输入为含有Pascal语言字符串的文件Test.cpp程序在控制台输出为含有二元组<code,String>和错误信息。其中code为单词符号类别标示,String为识别的单词。 1.2大小写不敏感: 程序对大小写不敏感,输出均为小写字符。 1.3注释识别功能: 当程序中出现“/*”时就会放弃对之后字符的识别,直至遇到“*/”,并将/*…*/部分识别为注释输出。 当输入中只有“/*”而没有与之对应的“*/”时输出“E
LTBEC
- LT码在删除信道(BEC)性能分析与仿真,通过改变删除概率来测试喷泉码开销与译码成功概率之间的关系。-The LT code analyzes the relationship between the fountain code overhead and the decoding success probability by changing the deletion probability in the Delete Channel (BEC) performance analysis and
编译原理词法分析器
- 2.1 待分析的简单的词法 (1)关键字: begin if then while do end 所有的关键字都是小写。 (2)运算符和界符 : = + - * / < <= <> > >= = ; ( ) # (3)其他单词是标识符(ID)和整型常数(SUM),通过以下正规式定义: ID = letter (letter | digit)* NUM = digit digit* (4)空格有空白、制表符