This paper presents a constraint-based type inference algorithm for a subset of the JavaScript language. The goal is to prevent accessing undefined members of objects. We define a type system that allows explicit extension of objects through add operation and implicit extension through method calls. We prove that a program is typable if and only if we can infer its types. We also extend the type system to allow strong updates and unrestricted extensions to new objects. 1
AbstractWe define a powerful type inference mechanism with application to object-oriented programmin...
. A constraint-based method for deriving type declarations from program statements is described. The...
We present a general algorithm for solving systems of inclusion constraints over type expressions. T...
Abstract—This paper presents a constraint-based type infer-ence algorithm for a subset of the JavaSc...
This paper presents a polymorphic type inference algorithm for a small subset of JavaScript. The goa...
International Workshop on Smalltalk TechnologiesInternational audienceDynamically typed languages pr...
Dynamic scripting languages have recently experienced a dramatic growth. JavaScript in particular is...
Type feedback and type inference are two common methods used to optimize dynamic languages such as J...
We present a type inference system for a language with object-oriented features such as polymorphic ...
AbstractJavaScript is a powerful imperative object based language made popular by its use in web pag...
We show how type inference for object oriented programming languages with state can be performed wit...
Decades of research on type systems have led to advances in the kinds of programming features that c...
Generic object-oriented programming languages combine parametric polymorphism and nominal subtype po...
So far type information for programs written in untyped object-oriented languages equipped with inhe...
We present a new approach to inferring types in untyped object-oriented programs with inheritance, a...
AbstractWe define a powerful type inference mechanism with application to object-oriented programmin...
. A constraint-based method for deriving type declarations from program statements is described. The...
We present a general algorithm for solving systems of inclusion constraints over type expressions. T...
Abstract—This paper presents a constraint-based type infer-ence algorithm for a subset of the JavaSc...
This paper presents a polymorphic type inference algorithm for a small subset of JavaScript. The goa...
International Workshop on Smalltalk TechnologiesInternational audienceDynamically typed languages pr...
Dynamic scripting languages have recently experienced a dramatic growth. JavaScript in particular is...
Type feedback and type inference are two common methods used to optimize dynamic languages such as J...
We present a type inference system for a language with object-oriented features such as polymorphic ...
AbstractJavaScript is a powerful imperative object based language made popular by its use in web pag...
We show how type inference for object oriented programming languages with state can be performed wit...
Decades of research on type systems have led to advances in the kinds of programming features that c...
Generic object-oriented programming languages combine parametric polymorphism and nominal subtype po...
So far type information for programs written in untyped object-oriented languages equipped with inhe...
We present a new approach to inferring types in untyped object-oriented programs with inheritance, a...
AbstractWe define a powerful type inference mechanism with application to object-oriented programmin...
. A constraint-based method for deriving type declarations from program statements is described. The...
We present a general algorithm for solving systems of inclusion constraints over type expressions. T...