کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
524402 868644 2014 17 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Static type information to improve the IDE features of hybrid dynamically and statically typed languages
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نرم افزارهای علوم کامپیوتر
پیش نمایش صفحه اول مقاله
Static type information to improve the IDE features of hybrid dynamically and statically typed languages
چکیده انگلیسی


• Common IDE features for static typing are also provided for dynamic typing.
• Facilitates the transition from dynamic to static typing code (and vice versa).
• Provides early compile type error detection of dynamically typed code.
• An evaluation of the programmer׳s performance is presented.
• The StaDyn IDE improves the programmer׳s performance.

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.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Visual Languages & Computing - Volume 25, Issue 4, August 2014, Pages 346–362
نویسندگان
, , ,