scholarly journals XQuery and static typing: tackling the problem of backward axes

2015 ◽  
Vol 50 (9) ◽  
pp. 88-100
Author(s):  
Pierre Genevès ◽  
Nils Gesbert
Keyword(s):  
2009 ◽  
Vol 44 (10) ◽  
pp. 41-60 ◽  
Author(s):  
Roland Ducournau ◽  
Floréal Morandat ◽  
Jean Privat

1991 ◽  
Vol 20 (355) ◽  
Author(s):  
Jens Palsberg ◽  
Michael I. Schwartzbach

We develop a theory of statically typed object-oriented languages. It represents classes as labeled, regular trees, types as finite sets of classes, and subclassing as a partial order on trees. We show that our subclassing order strictly generalizes inheritance, and that a novel genericity mechanism arises as an order-theoretic complement. This mechanism, called class substitution, is pragmatically useful and can be implemented efficiently.


Author(s):  
Viktor Sergeevich Kryshtapovich

Gradual typing is a modern approach for combining benefits of static typing and dynamic typing. Although scientific research aim for soundness of type systems, many of languages intentionally make their type system unsound for speeding up performance. This paper describes an implementation of a dialect for Lama programming language that supports gradual typing with explicit annotation of dangerous parts of code. The target of current implementation is to grant type safety to programs while keeping their power of untyped expressiveness. This paper covers implementation issues and properties of created type system. Finally, some perspectives on improving precision and soundness of type system are discussed.


2013 ◽  
Vol 19 (5) ◽  
pp. 1335-1382 ◽  
Author(s):  
Stefan Hanenberg ◽  
Sebastian Kleinschmager ◽  
Romain Robbes ◽  
Éric Tanter ◽  
Andreas Stefik

Author(s):  
Pablo E. Martínez Lopez

Static type systems are fundamental tools used to determine properties of programs before execution. There exist several techniques for validation and verification of programs based on typing. Thus, type systems are important to know for the practicioner. When designing and implementing a technique based on typing systems, there is usually a gap between the formal tools used to specify it, and the actual implementations. This gap can be an obstacle for language designers and programmers. A better understanding of the features of a type system and how they are implemented can help enourmously to the good design and implementation of new and powerful verification methods based on type systems. This chapter addresses the problem of specifying and implementing a static type system for a simple language, but containing many of the subtleties found in bigger, mainstream languages. This contributes to the understanding of the techniques, thus bridging the gap between theory and practice. Additionally, the chapter contains a small survey of some of the existing developments in the static typing area and the static analysis based on typing.


Sign in / Sign up

Export Citation Format

Share Document