编译原理语法分析图片,形象的表示了编译原理语法分析的步骤-compiler theory syntax analysis pictures, image editing, said the principle of syntax analysis steps 下载
|
软件开发注意的图表开发 UML基础案例与应用分析-software development to chart the development of the UML case basis and Application Analysis 下载
|
一. 实验目的: 设计、编写和调试一个具体的词法分析程序,加深对词法分析理论和自动词法分析工具的理解、实践和掌握。 二. 实验要求: ① 学习和理解正则表达式理论,写出C—语言的记号的完整的正则表达式;(适当使用正则定义) ② 学习和理解有限机理论,根据前面的正则表达式,用基于经验的方法画出C—语言的记的DFA图; ③ 用基于DFA图的算法编写C—语言的词法分析程序; ④ 学习词法分析程序的自动生成工具,使用LEX工具实现C—语言的词法分析程序. - 1. Experimental goal: The design, compiles and debugs a concrete lexical analyaer, deepens to the lexical analysis theory and the automatic lexical analysis tool understanding, practices and grasps. 2. The experiment requests: (1) study and the understanding regular expression theory, writes the C 鈻anguage the symbol integrity regular expression; (Suitable use regular definition) (2) study and the understanding limited machine theory, according to the front regular expression, with draw the DFA chart based on the experience method which the C 鈻anguage records; (3) uses based on the DFA chart algorithm to compile the C 鈻anguage the lexical analyaer; (4) study lexical analyaer automatic production tool, uses the LEX tool to realize the C 鈻anguage lexical analyaer 下载
|
设计目的 加深对语法分析程序的任务及其工作原理的理解;掌握语法分析程序的实现方法;掌握简单语言的状态转换图表示形式极其识别程序的构造。 设计任务 编写对简单语言进行语法分析的词法分析程序。并对输入串for I=1to 20 do {x:=x+2 y:=y*(2+c) }} 进行语法分析,要求如下: 1。识别其中的关键字,标识符,常数,运算符和界符。2,对其中的数字注明其值和类型 3。将识别的结果填入表中并输出。 -designed to deepen the syntax analysis procedures and the task of the working principle of understanding; Master syntax analysis of the implementation process; In simple language and the state transition map form extremely Construction of the identification procedures. Design tasks to prepare simple language syntax analysis of lexical analysis procedure. Also input strings for I = 1 to 20 do (x : y = x 2 : = y * (2 c))) syntax analysis, as follows : 1. The identification of keywords, identifiers, constant, Operators and community website. Two of the figures which indicate its value and type 3. Recognition will fill in the results table and outputs. 下载
|
Lex是美国Bell实验室用C语言研制的一个词法分析程序自生成工具。它的基本原理就是使用正则表达式扫描匹配文本,并为每一个匹配模式定义一些操作,当用C语言作宿主语言时,这些操作都由C语言实现。一种匹配的正则表达式可能会包含相关的动作。这一动作可能还包括返回一个标记。当 Lex 接收到文件或文本形式的输入时,它试图将文本与正则表达式进行匹配。它一次读入一个输入字符,直到找到一个匹配的模式。如果能够找到一个匹配的模式,Lex 就执行相关的动作(可能包括返回一个标记)。-Lex Bell Laboratories of the United States with C language developed by a lexical analysis tool generated from the process. Its fundamental principle is to use a regular expression matching text scanning, and for every definition of a matching model for operation, when the C language of the host language, these operators by C language. A match of which is likely to contain expressions related to the moves. This action may also include the return of a marker. When Lex reception of the document or text input, it is trying to text and is a regular expression matching. It read an input into the characters, until they found a matching pattern. If they can find a matching model, Lex on the implementation of the action (which may include a return of markings). 下载
|
Xvid Quants parser(XvidQP)用来分析编码Xvid AVI文件中每侦的量化(quantization)值。分析结束后,用文本和图表的方式显示统计数据。XviD继承并发展了OpenDIVX Encore 2,性能得到极大提高,被认为目前世界上速度最快的MPEG4 Codec.- 下载
|
SoundRuler是一个用来分析和图形化重复声音的工具(生物声学)。它识别和测量文件中每种声音的时间和光谱属性。执行的结果可以保存到电子数据表,也可以导出波形图。 -SoundRuler is uses for to analyze and the graph repetition sound tool (biological acoustics). It distinguishes and surveys in the document each kind of sound time and the spectrum attribute. The execution result may preserve the electronic data sheet, also may derive the oscillogram. 下载
|
PC数字电压表的设计,原理图以及代码,设计文档.此数字电压表的优势在于可以通过串口将测量所得到的电压值传给PC机,这样的话有利用整个数据的采集与分析.上位机采取的是串口通信软件.-PC digital voltage meter design, diagram and code, Design Documentation. This figure voltage meter advantage is through the serial port will be measured by the voltage transmission PC, so is the use of the entire data collection and analysis. PCs serial port communication software. 下载
|
模拟文件系统,操作系统课程设计的心血,含详细设计报告(设计要求、设计思想、数据结构设计、实体关系图、数据流图、程序流程图、结果分析等)。界面友好,模拟MS-DOS命令行方式,并提供命令列表和命令帮助。编程语言:c语言,编译工具:VC6.0。主要内容:模拟磁盘(使用内存空间)、模拟磁盘空间申请、模拟文件目录、模拟打开文件表。主要功能:建立文件、写文件、读文件、显示文件、删除文件、重命名文件、查询文件属性、关闭文件。 -simulation file system, operating system curriculum design effort, with the detailed design (design requirements, design, data structure design, entity-relationship, data flow diagrams, process flow chart analysis, etc.). Friendly interface to simulate the MS-DOS command line, and to provide an order list and orders to help. Programming Languages : c language, compiler tools : VC6.0. Major components : simulated disk (using memory space), the disk space simulation applications, directory simulation, simulation open file table. Main functions : document creation, document writing, reading documents, documents, delete files, rename files, querying document attributes, Close document. 下载
|
1、简介 此代码是IS0 13818-5 MPEG2系统层协议分析代码,经过我的一点修改,现在终于可以在VC++ 6.0下编译运行, 发布上来献给那些为了理解MPEG2系统层协议而苦苦加班的程序员。为了可以在windows下编译,我修改了部分操作系统相关代码,注解掉了一些main函数,只留下decode.cpp中的main函数没有注解,所以编译后的程序是TS流系统层解码分析程序,如果要实现其他功能如encode,只要把decode.cpp中的main函数注解,把encode.cpp中的main函数注解去掉即可。 2、VC++6.0编译设置 需要在菜单Poject-〉Settings 弹出的对话框中把预编译头设置成Not using precompiled headers,如Vc_setting.jpg中的图片所示。 3、运行 编译生成decode2.exe文件后在命令行如下运行 decode2.exe d:\cctv.ts 一开始在没有分析完PAT和PMT表时会打印一些如unexpected pid: 513的消息,请耐心等待一会儿就会发现分析的系统层信息打印了。可能刷屏很快导致你看不清信息,可以将打印信息重定向到某个文件中,如下: decode2.exe d:\cctv.ts >c:\ts_decode.txt 运行decode2.exe的同时会在当前目录生成过滤后的PES文件,文件名格式stream512,512为PID。 -a brief account of this code is ISO 13818-5 MPEG2 system layer protocol analysis code, After I few modifications, now he can finally in VC 6.0 compiler operation, Published line with those dedicated to understanding MPEG2 system layer protocol and an overtime programmers. To be compiled under the windows, I revised the relevant part of the operating system code, Notes swap some of the main function, leaving only the main decode.cpp function without notes, So when a compiled program is TS system layer decoding process analysis, if we are to achieve other functions such as encode. decode.cpp as long as the main function of the rich encode.cpp put the main function annotation will be removed. 2. VC 6.0 compiler installed in the menu Poject - "Settings pop-up dialog box put pre - translat 下载
|