收藏 分享(赏)

编译课程设计报告模版.doc

上传人:精品资料 文档编号:7567928 上传时间:2019-05-21 格式:DOC 页数:13 大小:124.50KB
下载 相关 举报
编译课程设计报告模版.doc_第1页
第1页 / 共13页
编译课程设计报告模版.doc_第2页
第2页 / 共13页
编译课程设计报告模版.doc_第3页
第3页 / 共13页
编译课程设计报告模版.doc_第4页
第4页 / 共13页
编译课程设计报告模版.doc_第5页
第5页 / 共13页
点击查看更多>>
资源描述

1、measures planned implementation of technical protection measures and security schemes, the problems should be promptly reported to the Manager. 37th: carbon supervisor leadership and head of the company should periodically check the anti-accident measures planned, security technology protection meas

2、ures planned in implementation of measures against accidents and guarantee schemes, security technology protection measures planned in implementation. Seventh article 38th of education and training: new factory (company) production staff (including internships, commissioned officer), must be approve

3、d by the factory (company), workshop and team level safety education upon passing the examination before entering production site. Tertiary-level education after card registration, by the companys production technology section recovery archive, and reported to the company trade unions, safety record

4、. Training and examinations including the safe work procedures as well as relevant safety regulations, work environment and jobs there are risk factors, preventive measures and emergency treatment, and so on. The 39th article: new producers must receive the following training and qualified posts: (a

5、) the operating personnel, scheduling, must pass through the field point, institutional learning, on-site training and classes practice; (B) the maintenance, including technical staff, must undergo maintenance, technical specifications for learning and class practice; (C) special operations personne

6、l, must pass the national professional training, after obtaining a special operations qualifications before they can post. 40th: on-the-job training of production personnel: (I) post production staff should regularly carry out targeted of technical questions and answers, an accident expected on site

7、 training and anti-accident; (B) from running post 1 month and above the main post on duty or leave transportation . Drive system and security studies, arranged by upper management or organization of the examination. The 42nd article: June of every year once regulatory and safety procedures of the c

8、ompany system of examinations, examination the failed again, still not eligible waiting list study. Article 43rd: every year in June the work ticket issuer, assignee, licensee of work training, after passing the examination, as a formal announcement are eligible to work as ticket issuer, head of ins

9、pection, work permits and the right to a separate high-pressure equipment list, and reported to the Management Department. Failing the exam may not serve as a two person, stop classes, examinations before they can post. 44th: for breach of discipline system caused the accident, a kind of disorder an

10、d attempted serious responsibility for the accident, in addition to the relevant provisions dealing with should also be tasked to learn about a point system, and after passing the exam, before they can post. Article 45th: units of the company using the security video, slide projector, television, co

11、mputer, multimedia, radio, Billboard, artifacts, photo exhibitions, as well as security knowledge exam, lectures, contests, and other forms of advocacy, popularize the knowledge of security technology, targeted, Visual training, enhancing workers safety awareness and self-protection ability. Article

12、 46thregular issuance system of internal and external accident cases, organizational learning, analysis and discussion on a regular basis, and educate the persons concerned in a timely manner. 47th article: strengthening the safety of staff, establishing the concept of legalization of production saf

13、ety, establish a “people-oriented“ concept, “three do no harm“ (dont hurt yourself, no harm to others, not to be hurt). 48th eighth day routine: pre-shift and post-shift monitor organizations, safety assist. Before class: succession (started), combined with shift operation and tasks for better risk

14、analysis, arranged security account considerations. After class: summarizing comment on duty and the security situation, praise good deeds criticism ignored safety, illegal operations and other adverse phenomena, and completes the record. 49th: safety day event organized by the monitor, safety help,

15、 workshop leaders and checking activities. Classes (groups) or rotating a safety day event a week, activities to learn more about the superior file and the spirit of the meeting, informed of the accident, analysis of the company, workshop and fewer security incidents, as well as the typical illegal

16、team, analysis of operation environment, there may be a risk factor for the main content. 50th: security analysis companies every quarter of a security analysis; shop at least once a month analysis, comprehensive analysis of production trends, sum up lessons learned from and the weakness in safety m

17、anagement, accident prevention measures in the study. Meeting was chaired by enterprise security responsibility, concerning the participation of Heads of Department, workshop. Formation meeting and made public. 51st: security check for carbon companys periodic and non-periodic safety checks should b

18、e carried out. Periodic inspection includes fall and spring security checks, security checks should be combined with spring or autumn season characteristics and accident law . 52nd: security analysis companies should all be actively involved in the preparation of security advisories, bulletins, inte

19、grated security, analysis of accident law, drawing on lessons learned from. 53rd: the companys safety safety month activities each year according to the Governments requirements and deployment of the group, safety month activities focus on advocacy efforts to improve production safety and strengthen

20、 company-wide awareness of work safety, improve the safety awareness, improving the companys safety culture. 54th: units of the company in relation to the units actual, active use of “risk analysis“ method, and is actively exploring new management tools for enterprises and job site safety analysis,

21、identify weaknesses and potential accidents and take preventive measures in a timely manner. 55th: units of the company against the possibility of seriously affecting the safety of emergency contingency plans, and actively prepared for the critical work, ensure that the critical situation occurred a

22、fter relief, rescue and recovery work in an orderly manner. 56th Nineth day construction project: company or project, the implementation of construction projects legal and construction team joint management of construction site safety of principle. Identified under the project bear this organizing,

23、coordinating and oversight responsibilities;课程设计报告( 2014-2015 年度第一学期)名 称: 编译技术课程设计 题 目: 院 系: 控制与计算机工程 班 级: 软件 1201 学 号: 学生姓名: 指导教师: 王红/齐林海/ 徐欢 设计周数: 一周 成 绩: 日期:2015 年 1 月 16 日Comment s1: 黑体小二号,英文同中文字体,居中,段间距 1.5倍行距,段前、段后 1行Comment 木木木木2: 黑体小三号,英文同中文字体,左对齐,段间距 1.5倍行距,段前、段后 0行Comment 木木木木3: 正文,宋体,Time

24、s NewRoman,行间距固定值 20磅课程设计报告11 课程设计的目的和要求1.1 课程设计的目的本次设计的时间为 1周,目的是通过使用高级语言实现部分算法加强对编译技术和理论的理解。设计的题目要求具有一定的规模,应涵盖本课程内容和实际应用相关的主要技术。1.2 课程设计的要求1、包括下列各种可能出现的文法描述方法;2、可以使用定义方式描述文法;3、可以使用产生式描述文法;4、用大写字母和小写字母分别表示非终结符和终结符;产生式使用-;5、文法中的空字符串统一使用表示;6、判断给定文法是乔姆斯基文法中的哪一种文法;用红色字体标注的题目在课程设计报告上必须有。包括 1 目的和要求;2,系统描

25、述,3,概要设计;4,详细设计;5,测试2 系统描述(对相应题目的问题域描述)举例如下:本次实验使用 windows XP的 visual C+软件,利用递归下降法实现 IF-ELSE的条件语句的翻译程序设计,输出三地址表示,程序只能处理简单的布尔表达式和最简单的赋值语句,布尔表达式能够实现大于和小于的识别,也能处理关系运算符=和X then Y else Y;X-ididid;X-idid=id;Y-id=id;2.2 属性文法的描述属性文法(也称属性翻译文法)是 Knuth在 1968年首先提出的。它是在上下文无关文法的基础上,为每个文法符号(终结符或非终结符)配备若干相关的“特性” (称

26、为属性) 。表 2-1 条件语句及其语义规则产生式 语义规则S-if E then S1 else S2E.true:= biaozhi+;E.fals:= ebiaozhi+;S1.next:=S.next;S2.next:=S.next;S.code:=E.cod|gen(E.true:)|S1.code|gen(goto S.next)|gen(E.false:)|S2.code3 概要设计课程设计报告33.1 概要设计(体现系统的设计思路和主要功能)首先在源程序相同的目录下创建一个 txt 文档,并在文档中输入需要编译的程序即 if-else 语句,然后定义一个输入流文件,利用这个流文

27、件中的 open 函数打开我需要编译的 txt文件,在调用初始化各种变量的初始化函数。接着开始进行词法分析,词法分析程序的主要任务是对构成源程序的字符串从左到右的扫描,逐个字符地读入源程序字符并按照构词规则切分成一个一个具有独立意义的单词。并确定其属性(如保留字、标识符、运算符、界限符和常量等) 。再把它们转换成长度统一的标准形式属性字。词法分析是编译过程中的第一个阶段,在语法分析前进行 。也可以和语法分析结合在一起作为一遍,由语法分析程序调用词法分析程序来获得当前单词供语法分析使用。单词的分类(五类):1. 关键字:由程序语言定义的具有固定意义的标识符。也称为保留字或基本字。2. 标识符:用

28、来表示程序中各种名字的字符串。3. 常 数:常数的类型一般有整型、实型、布尔型、文字型。4. 运算符:如+、 、*、/ 等。5. 界限符:如逗号、分号、括号等。但是我做的这个实验没有用到那么多东西,词法分析的有效字符串为: IF,ELSE,THEN, ,.=,=,和从 a 到 z 的单个标识符,但是程序还是相对来说比较简单,复杂的表达式可能不能处理,以后会改进。而词法分析的结果就是将相应的单词赋予不同的属性值,利用词法分析表将结果保存起来,为后面的语义分析做准备。词法分析完成之后就是把词法分析的结果都显示出来。语法分析的过程在上面已经有了说明,语法分析完了之后就是打印中间代码的三地址形式,根据

29、上面的结果,三地址的数组里面已经存储了编译的具体信息,之需要按照相应的算符,将他们输出出来,即可看到中间代码的三地址表示形式。3.2 系统用例图【必须有】以用例图的方式说明系统的所应该完成的主要任务。 【参看相关书籍或资料】可以参看老师给的网络内容管理系统-需求规格说明书中的类图、用例图等图 3-1 系统用例图measures planned implementation of technical protection measures and security schemes, the problems should be promptly reported to the Manager.

30、37th: carbon supervisor leadership and head of the company should periodically check the anti-accident measures planned, security technology protection measures planned in implementation of measures against accidents and guarantee schemes, security technology protection measures planned in implement

31、ation. Seventh article 38th of education and training: new factory (company) production staff (including internships, commissioned officer), must be approved by the factory (company), workshop and team level safety education upon passing the examination before entering production site. Tertiary-leve

32、l education after card registration, by the companys production technology section recovery archive, and reported to the company trade unions, safety record. Training and examinations including the safe work procedures as well as relevant safety regulations, work environment and jobs there are risk

33、factors, preventive measures and emergency treatment, and so on. The 39th article: new producers must receive the following training and qualified posts: (a) the operating personnel, scheduling, must pass through the field point, institutional learning, on-site training and classes practice; (B) the

34、 maintenance, including technical staff, must undergo maintenance, technical specifications for learning and class practice; (C) special operations personnel, must pass the national professional training, after obtaining a special operations qualifications before they can post. 40th: on-the-job trai

35、ning of production personnel: (I) post production staff should regularly carry out targeted of technical questions and answers, an accident expected on site training and anti-accident; (B) from running post 1 month and above the main post on duty or leave transportation . Drive system and security s

36、tudies, arranged by upper management or organization of the examination. The 42nd article: June of every year once regulatory and safety procedures of the company system of examinations, examination the failed again, still not eligible waiting list study. Article 43rd: every year in June the work ti

37、cket issuer, assignee, licensee of work training, after passing the examination, as a formal announcement are eligible to work as ticket issuer, head of inspection, work permits and the right to a separate high-pressure equipment list, and reported to the Management Department. Failing the exam may

38、not serve as a two person, stop classes, examinations before they can post. 44th: for breach of discipline system caused the accident, a kind of disorder and attempted serious responsibility for the accident, in addition to the relevant provisions dealing with should also be tasked to learn about a

39、point system, and after passing the exam, before they can post. Article 45th: units of the company using the security video, slide projector, television, computer, multimedia, radio, Billboard, artifacts, photo exhibitions, as well as security knowledge exam, lectures, contests, and other forms of a

40、dvocacy, popularize the knowledge of security technology, targeted, Visual training, enhancing workers safety awareness and self-protection ability. Article 46thregular issuance system of internal and external accident cases, organizational learning, analysis and discussion on a regular basis, and e

41、ducate the persons concerned in a timely manner. 47th article: strengthening the safety of staff, establishing the concept of legalization of production safety, establish a “people-oriented“ concept, “three do no harm“ (dont hurt yourself, no harm to others, not to be hurt). 48th eighth day routine:

42、 pre-shift and post-shift monitor organizations, safety assist. Before class: succession (started), combined with shift operation and tasks for better risk analysis, arranged security account considerations. After class: summarizing comment on duty and the security situation, praise good deeds criti

43、cism ignored safety, illegal operations and other adverse phenomena, and completes the record. 49th: safety day event organized by the monitor, safety help, workshop leaders and checking activities. Classes (groups) or rotating a safety day event a week, activities to learn more about the superior f

44、ile and the spirit of the meeting, informed of the accident, analysis of the company, workshop and fewer security incidents, as well as the typical illegal team, analysis of operation environment, there may be a risk factor for the main content. 50th: security analysis companies every quarter of a s

45、ecurity analysis; shop at least once a month analysis, comprehensive analysis of production trends, sum up lessons learned from and the weakness in safety management, accident prevention measures in the study. Meeting was chaired by enterprise security responsibility, concerning the participation of

46、 Heads of Department, workshop. Formation meeting and made public. 51st: security check for carbon companys periodic and non-periodic safety checks should be carried out. Periodic inspection includes fall and spring security checks, security checks should be combined with spring or autumn season cha

47、racteristics and accident law . 52nd: security analysis companies should all be actively involved in the preparation of security advisories, bulletins, integrated security, analysis of accident law, drawing on lessons learned from. 53rd: the companys safety safety month activities each year accordin

48、g to the Governments requirements and deployment of the group, safety month activities focus on advocacy efforts to improve production safety and strengthen company-wide awareness of work safety, improve the safety awareness, improving the companys safety culture. 54th: units of the company in relat

49、ion to the units actual, active use of “risk analysis“ method, and is actively exploring new management tools for enterprises and job site safety analysis, identify weaknesses and potential accidents and take preventive measures in a timely manner. 55th: units of the company against the possibility of seriously affecting the safety of emergency contingency plans, and actively prepared for the critical work, ensure that the critical situation occurred after relief, rescue and recovery work in an orderl

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 企业管理 > 管理学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报