Predictive program synthesize

R. R. Loka
{"title":"Predictive program synthesize","authors":"R. R. Loka","doi":"10.1145/317164.317175","DOIUrl":null,"url":null,"abstract":"Program Synthesizers are becoming increasingly useful for program creation. However, a majority of these synthesizers are apparently not truly language sensitive. This is indicated by the fact that most of them use error-correcting parsers. We consider the Program Synthesizer as a formal predictive sentence generator with control given to the programmer. For the purpose of generating a (syntactically) correct sentence (or program), our method relies heavily on the underlying LL(k) parse-table for the corresponding programming language. The method demonstrates our 'Prevention is Better than Correction' notion and correspondingly the need for an error-correcting parser can be eliminated. Our method also eliminates the need for 'fetch-template' commands, thus accelerating the program entry. Finally an example session is shown with a non-trivial subset of Modula-2.","PeriodicalId":147067,"journal":{"name":"Symposium on Small Systems","volume":"25 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1985-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Symposium on Small Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/317164.317175","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Program Synthesizers are becoming increasingly useful for program creation. However, a majority of these synthesizers are apparently not truly language sensitive. This is indicated by the fact that most of them use error-correcting parsers. We consider the Program Synthesizer as a formal predictive sentence generator with control given to the programmer. For the purpose of generating a (syntactically) correct sentence (or program), our method relies heavily on the underlying LL(k) parse-table for the corresponding programming language. The method demonstrates our 'Prevention is Better than Correction' notion and correspondingly the need for an error-correcting parser can be eliminated. Our method also eliminates the need for 'fetch-template' commands, thus accelerating the program entry. Finally an example session is shown with a non-trivial subset of Modula-2.
预测程序合成
程序合成器对于程序创建越来越有用。然而,这些合成器中的大多数显然不是真正的语言敏感。它们中的大多数使用纠错解析器这一事实表明了这一点。我们认为程序合成器是一个正式的预测句子生成器,其控制权交给程序员。为了生成(语法上)正确的句子(或程序),我们的方法严重依赖于相应编程语言的底层LL(k)解析表。该方法证明了我们的“预防胜于纠正”的概念,相应地可以消除对错误纠正解析器的需求。我们的方法还消除了对“fetch-template”命令的需要,从而加快了程序进入的速度。最后展示了一个示例会话,其中包含Modula-2的一个重要子集。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信