首页> 外文期刊>Journal of Visual Languages & Computing >Static type information to improve the IDE features of hybrid dynamically and statically typed languages
【24h】

Static type information to improve the IDE features of hybrid dynamically and statically typed languages

机译:静态类型信息,可改善动态和静态混合语言的IDE功能

获取原文
获取原文并翻译 | 示例

摘要

The flexibility offered by dynamically typed programming languages has been appropriately used to develop specific scenarios where dynamic adaptability is an important issue. This has made some existing statically typed languages gradually incorporate more dynamic features to their implementations. As a result, there are some programming languages considered hybrid dynamically and statically typed. However, these languages do not perform static type inference on a dynamically typed code, lacking those common features provided when a statically typed code is used. This lack is also present in the corresponding IDEs that, when a dynamically typed code is used, do not provide the services offered for static typing. We have customized an IDE for a hybrid language that statically infers type information of dynamically typed code. By using this type information, we show how the IDE can provide a set of appealing services that the existing approaches do not support, such as compile-time type error detection, code completion, transition from dynamically to statically typed code (and vice versa), and significant runtime performance optimizations. We have evaluated the programmer's performance improvement obtained with our IDE, and compared it with similar approaches.
机译:动态类型的编程语言提供的灵活性已被适当地用于开发其中动态适应性是重要问题的特定方案。这使得一些现有的静态类型语言逐渐将更多动态功能纳入其实现。结果,有些编程语言被认为是动态和静态类型的混合。但是,这些语言不对动态类型的代码执行静态类型推断,缺少使用静态类型的代码时提供的那些常用功能。相应的IDE中也存在这种不足,当使用动态类型的代码时,它们不提供为静态类型提供的服务。我们已经为混合语言定制了IDE,该混合语言可静态推断动态类型代码的类型信息。通过使用此类型信息,我们将展示IDE如何提供现有方法不支持的一组有吸引力的服务,例如编译时类型错误检测,代码完成,从动态类型转换为静态类型的代码(反之亦然) ,以及重大的运行时性能优化。我们已经评估了通过IDE获得的程序员的性能提升,并将其与类似方法进行了比较。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号