Home > Research > Publications & Outputs > A co-contextual formulation of type rules and i...

Links

Text available via DOI:

View graph of relations

A co-contextual formulation of type rules and its application to incremental type checking

Research output: Contribution in Book/Report/Proceedings - With ISBN/ISSNConference contribution/Paperpeer-review

Published

Standard

A co-contextual formulation of type rules and its application to incremental type checking. / Erdweg, Sebastian; Bračevac, Oliver; Kuci, Edlira et al.
OOPSLA 2015 Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications. New York: ACM, 2015. p. 880-897.

Research output: Contribution in Book/Report/Proceedings - With ISBN/ISSNConference contribution/Paperpeer-review

Harvard

Erdweg, S, Bračevac, O, Kuci, E, Krebs, M & Mezini, E 2015, A co-contextual formulation of type rules and its application to incremental type checking. in OOPSLA 2015 Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications. ACM, New York, pp. 880-897. https://doi.org/10.1145/2814270.2814277

APA

Erdweg, S., Bračevac, O., Kuci, E., Krebs, M., & Mezini, E. (2015). A co-contextual formulation of type rules and its application to incremental type checking. In OOPSLA 2015 Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications (pp. 880-897). ACM. https://doi.org/10.1145/2814270.2814277

Vancouver

Erdweg S, Bračevac O, Kuci E, Krebs M, Mezini E. A co-contextual formulation of type rules and its application to incremental type checking. In OOPSLA 2015 Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications. New York: ACM. 2015. p. 880-897 doi: 10.1145/2814270.2814277

Author

Erdweg, Sebastian ; Bračevac, Oliver ; Kuci, Edlira et al. / A co-contextual formulation of type rules and its application to incremental type checking. OOPSLA 2015 Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications. New York : ACM, 2015. pp. 880-897

Bibtex

@inproceedings{bb7370c7556d4184af72b2adcc1eafc7,
title = "A co-contextual formulation of type rules and its application to incremental type checking",
abstract = "Type rules associate types to expressions given a typing context. As the type checker traverses the expression tree top-down, it extends the typing context with additional context information that becomes available. This way, the typing context coordinates type checking in otherwise independent subexpressions, which inhibits parallelization and incrementalization of type checking. We propose a co-contextual formulation of type rules that only take an expression as input and produce a type and a set of context requirements. Co-contextual type checkers traverse an expression tree bottom-up and merge context requirements of independently checked subexpressions. We describe a method for systematically constructing a co-contextual formulation of type rules from a regular context-based formulation and we show how co-contextual type rules give rise to incremental type checking. Using our method, we derive incremental type checkers for PCF and for extensions that introduce records, parametric polymorphism, and subtyping. Our performance evaluation shows that co-contextual type checking has performance comparable to standard context-based type checking, and incrementalization can improve performance significantly.",
author = "Sebastian Erdweg and Oliver Bra{\v c}evac and Edlira Kuci and Matthias Krebs and Ermira Mezini",
year = "2015",
month = oct,
day = "25",
doi = "10.1145/2814270.2814277",
language = "English",
isbn = "9781450336895",
pages = "880--897",
booktitle = "OOPSLA 2015 Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications",
publisher = "ACM",

}

RIS

TY - GEN

T1 - A co-contextual formulation of type rules and its application to incremental type checking

AU - Erdweg, Sebastian

AU - Bračevac, Oliver

AU - Kuci, Edlira

AU - Krebs, Matthias

AU - Mezini, Ermira

PY - 2015/10/25

Y1 - 2015/10/25

N2 - Type rules associate types to expressions given a typing context. As the type checker traverses the expression tree top-down, it extends the typing context with additional context information that becomes available. This way, the typing context coordinates type checking in otherwise independent subexpressions, which inhibits parallelization and incrementalization of type checking. We propose a co-contextual formulation of type rules that only take an expression as input and produce a type and a set of context requirements. Co-contextual type checkers traverse an expression tree bottom-up and merge context requirements of independently checked subexpressions. We describe a method for systematically constructing a co-contextual formulation of type rules from a regular context-based formulation and we show how co-contextual type rules give rise to incremental type checking. Using our method, we derive incremental type checkers for PCF and for extensions that introduce records, parametric polymorphism, and subtyping. Our performance evaluation shows that co-contextual type checking has performance comparable to standard context-based type checking, and incrementalization can improve performance significantly.

AB - Type rules associate types to expressions given a typing context. As the type checker traverses the expression tree top-down, it extends the typing context with additional context information that becomes available. This way, the typing context coordinates type checking in otherwise independent subexpressions, which inhibits parallelization and incrementalization of type checking. We propose a co-contextual formulation of type rules that only take an expression as input and produce a type and a set of context requirements. Co-contextual type checkers traverse an expression tree bottom-up and merge context requirements of independently checked subexpressions. We describe a method for systematically constructing a co-contextual formulation of type rules from a regular context-based formulation and we show how co-contextual type rules give rise to incremental type checking. Using our method, we derive incremental type checkers for PCF and for extensions that introduce records, parametric polymorphism, and subtyping. Our performance evaluation shows that co-contextual type checking has performance comparable to standard context-based type checking, and incrementalization can improve performance significantly.

U2 - 10.1145/2814270.2814277

DO - 10.1145/2814270.2814277

M3 - Conference contribution/Paper

SN - 9781450336895

SP - 880

EP - 897

BT - OOPSLA 2015 Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications

PB - ACM

CY - New York

ER -