【24h】

Integrating Typed and Untyped Code in a Scripting Language

机译:以脚本语言集成键入和非型号代码

获取原文

摘要

Many large software systems originate from untyped scripting language code. While good for initial development, the lack of static type annotations can impact code-quality and performance in the long run. We present an approach for integrating untyped code and typed code in the same system to allow an initial prototype to smoothly evolve into an efficient and robust program. We introduce like types, a novel intermediate point between dynamic and static typing. Occurrences of like types variables are checked statically within their scope but, as they may be bound to dynamic values, their usage is checked dynamically. Thus like types provide some of the benefits of static typing without decreasing the expressiveness of the language. We provide a formal account of like types in a core object calculus and evaluate their applicability in the context of a new scripting language.
机译:许多大型软件系统源自没有绘制脚本语言代码。虽然初始开发良好,但缺乏静态的注释可以长期影响码质量和性能。我们介绍了一种在同一系统中集成了非典型代码和键入代码的方法,以允许初始原型将其平稳地发展成高效且强大的程序。我们介绍了类型,动态和静态键入之间的新型中间点。在其范围内静态检查相同类型变量的出现,但是,因为它们可能绑定到动态值,因此动态检查其使用情况。因此,如类型的类型提供了静态打字的一些好处,而不会降低语言的表现力。我们在核心对象中提供了类似类型的正式账户,并在新的脚本语言的上下文中评估其适用性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号