节点文献

一个PASCAL结构编辑器的设计与实现

Design and Implementation of a PASCAL Structured Editor

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 蒋立源毛军高东健

【Author】 Jiang Liyuan;Mao Jun;Gao Dongjian Department of Computer Science and Engineering Northwestern Polytechnical University

【机构】 西北工业大学西北工业大学 副教授工学硕士工学学士

【摘要】 本文对一个新的PASCAL结构编辑器PSE(PASCAL StructuredEditor)的系统结构和功能进行了概括的描述。在设计和实现PSE时,作者提出了一种新的程序内部表示法,即所谓“文本-树”表示。与以往的程序内部表示相较,这种表示方法具有占用内存量小,光标控制及编辑操作简便以及无须进行内部语法树与行式文件间的转换等特点。实践证明,基于此种表示的语法制导编辑器是易于实现的,其工作效率是较高的。

【Abstract】 In Recent years, research on structured editors has received much attention.In designing this kind of editors, the internal representation of program forstructured editor is very important. In a survey paper, Wang et al pointed outdeficiencies of existing internal representations of program of SED (Syntax-Direct Editor) [5]. In order to reduce some of these deficiencies the anthorspropose a new internal representation of program, called by them "Text-Tree"."Text-Tree" has the following features much better than those possessed byprevious internal representations of programs: 1. The memory space occupied by internal program is smaller. 2. By using "template" as object of operation, the edit-operation andcursor-control are made simpler and more convenient, 3. There is no need to transform between internal tree and line numberedfiles, as is done in traditional syntax tree. Using "Text-Tree" representation, we build an experimental structurededitor, PSE(PASCAL Structured Editor). The result shows that such a SEDbased on this representation is easier to build and its efficiency is also higher.

【关键词】 结构编辑器语法制导编辑器PASCAL
【Key words】 structured editorPASCAL.
【基金】 国家自然科学基金
  • 【文献出处】 西北工业大学学报 ,Journal of Northwestern Polytechnical University , 编辑部邮箱 ,1992年01期
  • 【下载频次】22
节点文献中: 

本文链接的文献网络图示:

本文的引文网络