Sciweavers

SAS
2009
Springer

Type Analysis for JavaScript

15 years 3 days ago
Type Analysis for JavaScript
JavaScript is the main scripting language for Web browsers, and it is essential to modern Web applications. Programmers have started using it for writing complex applications, but there is still little tool support available during development. We present a static program analysis infrastructure that can infer dend sound type information for JavaScript programs using abstract interpretation. The analysis is designed to support the full language as defined in the ECMAScript standard, including its peculiar object model and all built-in functions. The analysis results can be used to detect common programming errors ? or rather, prove their absence, and for producing type information for program comprehension. Preliminary experiments conducted on real-life JavaScript code indicate that the approach is promising regarding analysis precision on small and medium size programs, which constitute the majority of JavaScript applications. With potential for further improvement, we propose the ana...
Anders Møller, Peter Thiemann, Simon Holm J
Added 25 Nov 2009
Updated 25 Nov 2009
Type Conference
Year 2009
Where SAS
Authors Anders Møller, Peter Thiemann, Simon Holm Jensen
Comments (0)