The semantics of name resolution in grace

Vlad A. Vergu, Michiel Haisma, Eelco Visser. The semantics of name resolution in grace. In Davide Ancona, editor, Proceedings of the 13th ACM SIGPLAN International Symposium on on Dynamic Languages, Vancouver, BC, Canada, October 23 - 27, 2017. pages 63-74, ACM, 2017. [doi]

Abstract

Grace is a dynamic object oriented programming language designed to aid programming education. We present a formal model of and give an operational semantics for its object model and name resolution algorithm. Our main contributions are a systematic model of Grace’s name resolution using scope graphs, relating linguistic features to other languages, and an operationalization of this model in the form of an operational semantics which is readable and executable. The semantics are extensively tested against a reference Grace implementation.

Technical report

The following is a technical report version of this publication:

Predecessors

The following are older variants of this publication: