首页 | 本学科首页   官方微博 | 高级检索  
     


Static type information to improve the IDE features of hybrid dynamically and statically typed languages
Affiliation:1. Universidade de Franca, Av. Dr. Armando Salles Oliveira, Parque Universitário, 201, 14404-600 Franca, SP, Brazil;2. GIR-QUESCAT, Departamento de Química Inorgánica, Universidad de Salamanca, 37008 Salamanca, Spain
Abstract: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.
Keywords:Hybrid dynamic and static typing  IDE support  Type inference  Code completion  Separation of concerns  Plug-in  Visual Studio
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号