Syntax-directed compiling

T. Cheatham, K. Sattley
{"title":"Syntax-directed compiling","authors":"T. Cheatham, K. Sattley","doi":"10.1145/1464122.1464126","DOIUrl":null,"url":null,"abstract":"This paper is primarily concerned with the analysis of source statements in a programming language, although some of the ideas and techniques may be applicable to the analysis of source statements in a natural language. We are particularly concerned with those techniques which might be classed as predictive; the companion paper by Graham is concerned with other (\"nonpredictive\") techniques of analysis. Very broadly the techniques we will discuss operate as follows: Given a set of rules (Syntax Specification) for forming allowable constructs, eventually resulting in a statement (or sentence, word, program, etc.) of a language, we analyze a source statement in that language by guessing, or predicting, how the statement is constructed and either verifying that this is the case or backing up to try again, assuming some other method of construction. We keep a \"history\" of our attempts and when we have determined the exact way in which the statement is constructed we can use this \"history\" of its construction for further processing of the components of the statement.","PeriodicalId":395858,"journal":{"name":"AFIPS '64 (Spring)","volume":"30 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1964-04-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"63","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"AFIPS '64 (Spring)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1464122.1464126","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 63

Abstract

This paper is primarily concerned with the analysis of source statements in a programming language, although some of the ideas and techniques may be applicable to the analysis of source statements in a natural language. We are particularly concerned with those techniques which might be classed as predictive; the companion paper by Graham is concerned with other ("nonpredictive") techniques of analysis. Very broadly the techniques we will discuss operate as follows: Given a set of rules (Syntax Specification) for forming allowable constructs, eventually resulting in a statement (or sentence, word, program, etc.) of a language, we analyze a source statement in that language by guessing, or predicting, how the statement is constructed and either verifying that this is the case or backing up to try again, assuming some other method of construction. We keep a "history" of our attempts and when we have determined the exact way in which the statement is constructed we can use this "history" of its construction for further processing of the components of the statement.
Syntax-directed编译
本文主要关注编程语言源语句的分析,尽管其中的一些思想和技术可能适用于自然语言源语句的分析。我们特别关注那些可能被归类为预测性的技术;Graham的同伴论文关注的是其他(“非预测性”)分析技术。我们将讨论的技术大致如下:给定一组规则(语法规范)来形成允许的结构,最终产生一种语言的语句(或句子,单词,程序等),我们通过猜测或预测语句的构造方式来分析该语言的源语句,并验证这种情况或备份以再次尝试,假设其他构造方法。我们保留了我们尝试的“历史”,当我们确定了语句的确切构造方式时,我们可以使用其构造的“历史”来进一步处理语句的组成部分。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信