首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 93 毫秒
1.
代码转换是代码自动生成过程中的重要环节.提出一种基于模板、可适用于任意文法描述代码之间转换的"属性匹配-替换"算法.利用该算法,成功实现了OSEK规范中OIL语法描述代码到C语言代码的转换.  相似文献   

2.
陈云  王铮 《计算机工程》2008,34(20):58-61
针对界面层自然语言理解的应用,该文设计一个基于受限自然语言和模块组合的代码自动生成系统。该系统允许用户输入,格式比较随意的中文需求语句,,把用户的输入转换为标准的C程序,再返回给用户。提出一种IMM分词算法,改进原有MM法在局部的最大匹配,减少错误切分句子的数量,提高分词的精度。  相似文献   

3.
代码的自动生成技术的应用范围越来越广,尤其是具有很大灵活性的解决方案.AutoQuotation就是这样一种代码生成技术,所产生的Quotation代码具有独立于平台的词法分析及语法分析程序,但是它的算法是自顶向下的,在实际引用中具有很大的局限性.算法是程序的核心,采用的GLR(generalizedLR)分析法,能够处理大部分的上下文无关文法,因而具有很高的实用性.描述一个自动生成系统,该系统能够根据文法自动生成Quotation代码,并自动进行Quotation注册.经测试系统能够处理回溯及左递归.  相似文献   

4.
介绍在集成开发环境中,通过OIL语言配置OSEK实时操作系统及应用程序的过程,包括使用图形化的用户界面进行读取、编辑、保存OIL文件以及自动生成代码等功能的实现;利用XML技术和OIL语言解析器保证了OIL文件的可移植性、可扩展性和可重用性.  相似文献   

5.
本文介绍了一个用于编译程序测试的程序自动生成器,该生成器以编译程序对象语言的前后文无关文法作为输入,根据该语言的具体特点,对语言的数据对象采用了一种表结构的描述方式,并通过对表的操作,有效的解决了语言的前后文相关问题,该生成器不但可按语言文法的描述自动生成覆盖该语言各种语法现象的程序,而且还可按用户要求生成具有某种语法现象的程序,另外,该生成器在生成策略、生成算法及推导机制等方面也有自己显著的特色。  相似文献   

6.
C2M是一个把C语言遗留代码转换为Matlab中使用的mex封装文件的半自动化系统.该系统主要由C2Mmap和C2Mrule这两个彼此独立但又相关的工具构成.C2Mmap是一个半自动化转换工具,帮助用户在Matlab与C语言之间建立映像;C2Mrule为C函数自动生成相关的封装文件.描述了C2Mmap和C2Mrule,用例说明了封装代码的实际过程.  相似文献   

7.
程序流程图在整个软件工程的生命周期中发挥着非常重要的作用。在软件设计中,设计人员通常需要先根据算法从结构上画出程序执行流程图,然后再依据流程图写出相应的源程序代码;在分析和维护软件时,如果能先将源程序代码逆向转换成流程图,则可以有效地帮助分析程序结构。显然,若能让计算机自动地实现流程图与源程序代码之间的相互转换,将大量节省软件开发的人力资源和时间耗费。讨论了如何利用基于边的图文法EGG来自动地实现这种转换,并用具体例子展示了应用EGG图文法的归约和推导操作分别实现流程图的语法分析和流程图的逆向生成,前者可以完成从流程图自动生成源程序代码,而后者则可以从源程序代码自动生成流程图。  相似文献   

8.
基于有限状态机的嵌入式系统建模研究与实现   总被引:1,自引:0,他引:1  
随着嵌入式系统在各个领域的广泛应用,嵌入式系统变得越来越复杂,研究一种支持嵌入式系统从分析、设计、验证到编码整个过程的模型系统及建模方法变得越来越重要。本系统在IAR Visual STATE环境下用状态图对嵌入式系统进行面向对象分析与设计,并以ATM实时控制系统为例,建立系统的动态模型,分析系统状态变化,实现了从状态图到C代码的自动生成,并将生成代码及用户代码与具体的硬件Smart AR M2200结合来验证基于有限状态机建模的正确性。  相似文献   

9.
为快速开发嵌入式应用中的接口通讯程序,提高其效率和可靠性,本文提出了一种基于ICD的代码自动生成技术.首先确定了目标代码的形式,通过设计系统结构、建立驱动模型和代码生成单元结构,最终实现了代码生成器.本文设计的代码生成器,能够根据ICD数据库自动生成符合ANSI C标准的接口通讯程序,并在某航天工程的集成仿真测试系统中得到应用验证.  相似文献   

10.
孙明勇  卢鹏  陆汝占 《计算机工程》2003,29(21):100-101,138
句法分析自动生成对提高自然语言处理程序开发效率有重要意义。文章提出支持复杂特征和合一文法的图算法句法分析器预自动生成方法,详述了规则描述、输出代码模式及生成过程中的主要算法,并实现了一个自动生成器。测试表明,在保证执行效率的同时,该自动生成方法可以很好地增加句法分析的可扩展性。  相似文献   

11.
人体测量学并不是现代社会的产物。有着很长发展历史的人体比例理论中就包含了现代人体测量学的基本内容,尽管其还不够系统完整,但至少说明了在艺术创作中诞生的人体比例理论对现代人体测量学的影响。并随着时间的推移而不断的完善发展,为现代人体测量学的系统提出奠定了坚实的基础。  相似文献   

12.
By examples of the design in the input-output relations of control devices with various configurations, the dependence on the configuration of the value of the criteria characterizing the system quality is shown. The complexity of solving the problem in the state space is illustrated.  相似文献   

13.
分析了在长江水质的评价和预测建模过程中出现的一些问题,利用灰色模型的指数特性,建立预测长江水质的GM(1,1)的改进模型。根据数据的周期波动特性,采用灰色系统理论建立了残差序列周期修正GM(1,1)模型,用复合残差来修正预报数据,提高了数据预报的准确程度和模型的适用性。  相似文献   

14.
Even though using the hand as a hammer causes injury, the practice continues, and may be increasing, in industry and in jobs that require intensive manual labor. This was an exploratory study aimed at measuring the relationships between the forces of strikes, the relative angles of strikes, and/or the number of strikes (up to 3) with the perception of severity of strikes when using the base of the palm of the hand. Eight subjects struck a metal force plate with the base of the palm of the hand at three levels of force, three levels of angle with respect to the surface of a force plate, and with three different numbers of times in a trial. Subjects were then asked to give a psychophysical rating after each trial. The subjective perception of the severity of each impact and force-time curves were recorded. From each force-time curve, peak force, maximum acceleration of force application, and the area of the force curve from initiation to peak were determined. Sixteen ANOVA models were analyzed.  相似文献   

15.
用JSP实现基于中值排序基数法的BBS树状结构,给出数据结构的设计以及具体的算法实现。  相似文献   

16.
为了能够解决学生网络实验的可操作性和实验室安全管理的稳定性之间的矛盾,引入VMware,从而在单机上实现虚拟网络实验平台,提高网络实验教学的课堂效果.  相似文献   

17.
为了能够解决学生网络实验的可操作性和实验室安全管理的稳定性之间的矛盾,引入VMware,从而在单机上实现虚拟网络实验平台,提高网络实验教学的课堂效果。  相似文献   

18.
紫禁城是我国古代建筑的精品,显示着古代匠师们在建筑上的卓越成就。其苦心经营的屋顶建构更是彰显了宫殿壮丽的威严和飞动的气势。随着我国城市化建设的加速发展,正确地认识中国传统建筑文化并设计具有中国文化的建筑迫在眉睫。本文将从紫荆城屋顶的造型和色彩两方面探析紫禁城的屋顶文化。  相似文献   

19.
The peculiarities of the interpolation method based on digital signal processing are considered. It is shown that the transfer function of the interpolator may be represented by the composition of two functional components. A nonstatistical method of reconstruction of the form of the corrective component of the transfer function based on processing of the scatter diagram of the ordered pairs of the experimental and predicted data is investigated. It is shown that such pairs may be obtained in the process of periodic event flow timing with estimations of the time positions of the signal and the predetermined instants of the event occurrence being elements of the ordered pairs. The efficiency of the reconstruction method is illustrated by the experimental results.  相似文献   

20.
 The paper questions the ability of current university systems to respond appropriately to the complex demands of an Information Economy. It argues that new relationships between creative subjects and technology require new thinking about the nature and purpose of universities per se. In particular, attention is drawn to the growing involvement of the private sector in higher education. It is argued that it may not be appropriate to think of the `university of the future' in terms of current public sector and quasi public sector institutions, but rather in terms of an emporium, based on an international trade in educational services, and with the `University' as we now understand it occupying the functions of licensing, quality assurance and cultural custodianship. Accepted: 25 June 2002  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号