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

来源 :Journal of Computer Science and Technology | 被引量 : 0次 | 上传用户:tomzhang155
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
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. A parser, which parses the syntax descriptions written in Metaand generating their driver tables; a syntax-directed editor, which performs editing operations using a table.Similar to its ancestors (egCPS, Gandalf), SEG is characterized by the following features: 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 correctly and 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 of the system.
其他文献
本文简单介绍了航空工业部第六三一所研制成功的AP85松散耦合多微机系统的软件和硬件,分析了AP85系统开发并行程序的技术要点以及要考虑的若干问题,最后以矩阵相乘,G-J按解线
土壤结构是指土壤颗粒和孔隙的大小,形状及其空间排列,它极易变化,并与矿物、化学和生物诸因子间一系列复杂的相互作用有关。科学是以具有重现性的定量测定为基础的,但土壤结
湖北省宜昌市夷陵中学是一所现代化的全员寄宿制省级重点高中、省级示范学校。学校占地面积7万余平方米,校园建筑面积4万余平方米,教工宿舍1.7万余平方米。学 校依地势而建,
7月的兰毗尼早已进入雨季,每天总要不厌倦地下些雨,有时狂风大作暴雨倾盆,有时淅淅沥沥连绵不断。远山在薄雾幕遮中显得神秘而辽远,近处的树木散发着浓郁的绿色,灌木和芦苇在风中摇
有了参考教学更好全国中文核心期刊全国优秀语文期刊一、共生课堂——著名特级教师黄厚江先生主持语文共生教学是著名特级教师黄厚江先生立足本色语文的教学主张,是他总结几
双吸泵具有结构简单、使用维修方便、性能优良等突出优点,在电厂、钢厂、水厂、市政、建筑等许多部门广泛应用。国内1957年设计的Sh型双吸泵、1967年设计的S型双吸泵,是双吸
新华社长沙11月4日电湖南省郴州市日前向社会通报了一起政法机关涉黑腐败案:郴州市政法委原副书记谢孔彬、资兴市政法委原书记郭标平资兴市检察院原副检察长方祝跃、资兴市公
一、前言在信息处理中,图象信息占有十分重要的地位。TS-84微机图象图形处理系统(以下简称为系统)于1985年9月通过了由电子工业部计算机管理局主持的鉴定。其硬件子系统框图
In this study we assessed the prevalence of fat redistribution and metabolic d isorders in a population of HIV-infected children on antiretroviral treatment. To
就在那个清晨  我推开屋门  蓦然就  与你撞个满怀  顿时间  便紧缩了我的  每个毛孔  每个细胞  你竟也学会了低调  还没听到你  一声喧嚣  我还没来得及  披上过冬的  棉袄  待我转身  回屋  穿戴齐整  却看见  你正在摇晃  挂着黄叶的树枝  对我  微笑
期刊