Type Inference for Turbo Pascal

Ole I. Hougaard, M. I. Schwartzbach, Hosein Askari
{"title":"Type Inference for Turbo Pascal","authors":"Ole I. Hougaard, M. I. Schwartzbach, Hosein Askari","doi":"10.7146/BRICS.V2I8.19511","DOIUrl":null,"url":null,"abstract":"Type inference is generally thought of as being an exclusive property of the functional programming paradigm. We argue that such a feature may be of significant benefit for also standard imperative languages. We present a working tool (available by WWW) providing these benefits for a full version of Turbo Pascal. It has the form of a preprocessor that analyzes programs in which the type annotations are only partial or even absent. The resulting program has full type annotations, will be accepted by the standard Turbo Pascal compiler, and has polymorphic use of procedures resolved by means of code expansion. Keywords: imperative languages, type inference.","PeriodicalId":167132,"journal":{"name":"Softw. Concepts Tools","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1995-01-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Softw. Concepts Tools","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.7146/BRICS.V2I8.19511","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

Type inference is generally thought of as being an exclusive property of the functional programming paradigm. We argue that such a feature may be of significant benefit for also standard imperative languages. We present a working tool (available by WWW) providing these benefits for a full version of Turbo Pascal. It has the form of a preprocessor that analyzes programs in which the type annotations are only partial or even absent. The resulting program has full type annotations, will be accepted by the standard Turbo Pascal compiler, and has polymorphic use of procedures resolved by means of code expansion. Keywords: imperative languages, type inference.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Turbo Pascal的类型推断
类型推断通常被认为是函数式编程范式的专有属性。我们认为这样的特性对标准命令式语言也有很大的好处。我们提供了一个工作工具(可从WWW获得),为Turbo Pascal的完整版本提供了这些好处。它具有预处理器的形式,用于分析只有部分类型注释甚至没有类型注释的程序。生成的程序具有完整的类型注释,将被标准Turbo Pascal编译器接受,并且具有通过代码扩展解决的过程的多态使用。关键词:命令式语言,类型推断。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A Language for Specifying Hyperdocuments Breaking and Fixing the Needham-Schroeder Public-Key Protocol Using FDR An Analyzer for Message Sequence Charts Early Fault Detection Tools Type Inference for Turbo Pascal
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1