{"title":"A compiler—compiler system","authors":"R. Trout","doi":"10.1145/800196.806002","DOIUrl":null,"url":null,"abstract":"To the author's knowledge three other operational compiler-compiler systems, whose strategy is similar to the scheme documented here, have been developed. The Feldman system [6, 7, 8] is a bounded context, syntax directed system. Syntax specifications are expressed in Floyd production language (FPL) and semantics are defined in Feldman semantic language (FSL). FSL seems to be a good model on which to base semantic languages. A lexical analysis (subscan to distinguish identifiers, operators, delimiters and punctuation marks) precedes the full analysis. In the COGENT system [5], on the other hand, each character is interpreted separately, hence allowing greater flexibility (e.g. its use in a symbolic differentiation program) and enforcing more detailed attention to syntax. Syntax for a source program is virtually in Backus Normal Form (BNF) [3] and this system is syntax directed along the lines suggested by Irons [1]. Much has been written on the compiler-compiler system of Brooker and Morris [2, 22, 23] which has superficial similarities with the COGENT scheme and the system described below.","PeriodicalId":257203,"journal":{"name":"Proceedings of the 1967 22nd national conference","volume":"95 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1967-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 1967 22nd national conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/800196.806002","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
To the author's knowledge three other operational compiler-compiler systems, whose strategy is similar to the scheme documented here, have been developed. The Feldman system [6, 7, 8] is a bounded context, syntax directed system. Syntax specifications are expressed in Floyd production language (FPL) and semantics are defined in Feldman semantic language (FSL). FSL seems to be a good model on which to base semantic languages. A lexical analysis (subscan to distinguish identifiers, operators, delimiters and punctuation marks) precedes the full analysis. In the COGENT system [5], on the other hand, each character is interpreted separately, hence allowing greater flexibility (e.g. its use in a symbolic differentiation program) and enforcing more detailed attention to syntax. Syntax for a source program is virtually in Backus Normal Form (BNF) [3] and this system is syntax directed along the lines suggested by Irons [1]. Much has been written on the compiler-compiler system of Brooker and Morris [2, 22, 23] which has superficial similarities with the COGENT scheme and the system described below.
据作者所知,已经开发了另外三个操作编译器-编译器系统,它们的策略与本文记录的方案相似。Feldman系统[6,7,8]是一个有界上下文、语法导向的系统。语法规范用弗洛伊德生成语言(FPL)表示,语义定义用费尔德曼语义语言(FSL)定义。FSL似乎是建立语义语言的一个很好的模型。词法分析(用于区分标识符、操作符、分隔符和标点符号的子扫描)在完整分析之前进行。另一方面,在COGENT系统[5]中,每个字符被单独解释,因此允许更大的灵活性(例如它在符号区分程序中的使用),并强制对语法进行更详细的关注。源程序的语法实际上是巴克斯范式(Backus Normal Form, BNF)[3],而这个系统的语法是沿着Irons[1]建议的方向引导的。Brooker和Morris[2,22,23]的编译器-编译器系统已经写了很多,它与COGENT方案和下面描述的系统有表面上的相似之处。