2011
DOI: 10.1016/j.ipl.2010.12.006
|View full text |Cite
|
Sign up to set email alerts
|

Union and intersection types to support both dynamic and static typing

Abstract: Although static typing provides undeniable benefits for the development of applications, dynamically typed languages have become increasingly popular for specific scenarios. Since each approach offers different benefits, the StaDyn programming language has been designed to support both dynamic and static typing. This paper describes the minimal core of the StaDyn programming language. Its type system performs type reconstruction over both dynamic and static implicitly typed references. A new interpretation of … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
11
0

Year Published

2011
2011
2014
2014

Publication Types

Select...
3
3
1

Relationship

4
3

Authors

Journals

citations
Cited by 20 publications
(11 citation statements)
references
References 13 publications
0
11
0
Order By: Relevance
“…It has been used to implement the first prototype of the nitrO virtual machine [35], and its design principles have been applied in the development of the StaDyn programming language [36], [37]. It has also been used for educational purposes, in a compiler construction course [28].…”
Section: Methodsmentioning
confidence: 99%
“…It has been used to implement the first prototype of the nitrO virtual machine [35], and its design principles have been applied in the development of the StaDyn programming language [36], [37]. It has also been used for educational purposes, in a compiler construction course [28].…”
Section: Methodsmentioning
confidence: 99%
“…A formal description of its type system is depicted in [8] and [9]. Implementation issues are presented in Section 4.…”
Section: The Stadyn Programming Languagementioning
confidence: 99%
“…A dynamic reference is a subtype of a static one when all the concrete types of the dynamic reference promote to the static one [8]. Promotion of static references to dynamic ones is more flexible: static references should fulfill at least one constraint from the set of alternatives.…”
Section: Using Both Static and Dynamic Referencesmentioning
confidence: 99%
“…Figure 2 shows how the dynamic ure reference accepts the union of all the messages in rence, Rectangle and Triangle. In case it was static, union type would only accept the intersection of their messages −see the type system formalization in [4].…”
Section: Ide Supportmentioning
confidence: 99%
“…The benefit of separating the dynamism concern (not explicitly stating it in the source code) is that it makes it easy to change 3 The numbers shown after Var are the unique identifiers set to each reference [4].…”
Section: Figure 2 Intellisense Behavior With Dynamic Referencesmentioning
confidence: 99%