PL/C: the design of a high-performance compiler for PL/I

H. L. Morgan, R. Wagner
{"title":"PL/C: the design of a high-performance compiler for PL/I","authors":"H. L. Morgan, R. Wagner","doi":"10.1145/1478786.1478858","DOIUrl":null,"url":null,"abstract":"A general purpose production compiler faces many diverse and demanding tasks. It must obviously accept the full source language---including all rarely used and difficult to compile features; it must produce efficient object code; it must be prepared to accept very large and long programs---and accept them in pieces to be integrated later. It is obvious that by yielding on some of these requirements, and by sacrificing generality for efficiency for a particular class of program or user, improved compiler performance should be obtainable. One large and important class of users are those just learning the language. Their programs are typically short, submitted all at once, and require only a modest subset of the language. They need to be compiled repeatedly to eliminate errors, and are often discarded as soon as they execute properly. In general, their execution time is very small relative to the total compilation time. It should also be noted that such programs occur in tremendous numbers since classes of hundreds of students submitting programs daily are not at all uncommon. This class of program is further enlarged by the observation that even experienced programmers have rather similar requirements (except for requiring a larger subset of the language) during the development and checkout of a new system.","PeriodicalId":158225,"journal":{"name":"AFIPS '71 (Spring)","volume":"82 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1971-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"AFIPS '71 (Spring)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1478786.1478858","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

Abstract

A general purpose production compiler faces many diverse and demanding tasks. It must obviously accept the full source language---including all rarely used and difficult to compile features; it must produce efficient object code; it must be prepared to accept very large and long programs---and accept them in pieces to be integrated later. It is obvious that by yielding on some of these requirements, and by sacrificing generality for efficiency for a particular class of program or user, improved compiler performance should be obtainable. One large and important class of users are those just learning the language. Their programs are typically short, submitted all at once, and require only a modest subset of the language. They need to be compiled repeatedly to eliminate errors, and are often discarded as soon as they execute properly. In general, their execution time is very small relative to the total compilation time. It should also be noted that such programs occur in tremendous numbers since classes of hundreds of students submitting programs daily are not at all uncommon. This class of program is further enlarged by the observation that even experienced programmers have rather similar requirements (except for requiring a larger subset of the language) during the development and checkout of a new system.
PL/C:设计一个高性能的PL/I编译器
一个通用的生产编译器面临许多不同的和苛刻的任务。它显然必须接受完整的源语言——包括所有很少使用和难以编译的特性;它必须产生高效的目标代码;它必须准备好接受非常大且很长的程序——并且接受它们的片段,以便稍后进行集成。很明显,通过放弃其中的一些要求,并牺牲通用性来提高特定程序或用户类的效率,应该可以获得改进的编译器性能。一个庞大而重要的用户群体是那些刚刚学习语言的人。他们的程序通常很短,一次提交,只需要语言的一小部分。它们需要反复编译以消除错误,并且通常在正确执行后立即丢弃。通常,它们的执行时间相对于总编译时间来说非常小。还应该指出的是,由于每天数百名学生提交课程的班级并不罕见,因此此类课程的数量非常多。在新系统的开发和检出过程中,即使是有经验的程序员也有相当相似的需求(除了需要更大的语言子集),这类程序进一步扩大了。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书