首页> 中文期刊> 《计算机科学技术学报:英文版》 >The Design and Implementation of the Syntax-Directed Editor Generator(SEG)

The Design and Implementation of the Syntax-Directed Editor Generator(SEG)

     

摘要

<正> SEG is a syntax-directed editor generator consisting of three parts:Meta,a meta languagewhich describes BNF-like syntax;a parser,which parses the syntax descriptions written in Metaand generates their driver tables;a syntax-directed editor,which performs editing operationsusing a table.Similar to its ancestors(e.g.CPS,Gandalf),SEG is characterized by the followingfeatures:i)it is for a variety of languages so that the editor of a specific language can be easilyproduced;ii)multifile can be edited in multiwindow;iii)private environments can be set up byusers;iv)the PC-mouse with the dedicated menus enables users to enter commands correctlyand quickly;v)pretty-printing of program documents is done automatically or manually.Likeother syntax-directed editors,any program edited by SEG is syntactically correct.This paperoutlines the SEG system and discusses the design principles and implementation techniques ofthe system.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号