TY - GEN
T1 - Scope Graphs
T2 - 2023 Eelco Visser Commemorative Symposium, EVCS 2023
AU - Zwaan, Aron
AU - van Antwerpen, Hendrik
PY - 2023
Y1 - 2023
N2 - Static name binding (i.e., associating references with appropriate declarations) is an essential aspect of programming languages. However, it is usually treated in an unprincipled manner, often leaving a gap between formalization and implementation. The scope graph formalism mitigates these deficiencies by providing a well-defined, first-class, language-parametric representation of name binding. Scope graphs serve as a foundation for deriving type checkers from declarative type system specifications, reasoning about type soundness, and implementing editor services and refactorings. In this paper we present an overview of scope graphs, and, using examples, show how the ideas and notation of the formalism have evolved. We also briefly discuss follow-up research beyond type checking, and evaluate the formalism.
AB - Static name binding (i.e., associating references with appropriate declarations) is an essential aspect of programming languages. However, it is usually treated in an unprincipled manner, often leaving a gap between formalization and implementation. The scope graph formalism mitigates these deficiencies by providing a well-defined, first-class, language-parametric representation of name binding. Scope graphs serve as a foundation for deriving type checkers from declarative type system specifications, reasoning about type soundness, and implementing editor services and refactorings. In this paper we present an overview of scope graphs, and, using examples, show how the ideas and notation of the formalism have evolved. We also briefly discuss follow-up research beyond type checking, and evaluate the formalism.
KW - name binding
KW - reference resolution
KW - scope graph
KW - static semantics
KW - type system
UR - http://www.scopus.com/inward/record.url?scp=85150807643&partnerID=8YFLogxK
U2 - 10.4230/OASIcs.EVCS.2023.32
DO - 10.4230/OASIcs.EVCS.2023.32
M3 - Conference contribution
AN - SCOPUS:85150807643
T3 - OpenAccess Series in Informatics
BT - Eelco Visser Commemorative Symposium, EVCS 2023
A2 - Lammel, Ralf
A2 - Mosses, Peter D.
A2 - Steimann, Friedrich
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Y2 - 5 April 2023 through 5 April 2023
ER -