Artifact: Tool Paper: AGTix: Concise Definition of Scope Graphs in Reference Attribute Grammars
Year: 2026
Type: software
Abstract: This artifact accompanies the tool paper 'AGTix: Concise Definition of Scope Graphs in Reference Attribute Grammars' by Luke Bessant and Eric Van Wyk,published in ACM SIGPLAN International Conference on Software Language Engineering (SLE 2026). Its purpose is to demonstrate the use of AGTix constructs for specifying the construction and interrogation of scope graphs, which are implemented as a language extension to Silver, an attribute grammar system with reference and higher-order attributes. AGTix is a fusion of Statix (the constructs introduced are primarily inspired by MiniStatix and reference attribute grammars (RAGs), which brings Statix-like constraints for building and querying scope graphs into RAGs as new equation forms, implemented as a language extension to Silver. This allows a more concise definition of scope graph-based name analysis than is yielded by the full Statix-to-RAGs translation of our previous work. The new AGTix constructs implicitly translate to attribute declarations definitions and production equations akin to what is presented in that previous work, hiding the details such as how targets of edge assertions are propagated around a syntax tree, which often involve many equations and definitions. It also means that Statix specifications can be more easily translated to RAG specifications. The artifact contains a number of example languages with name resolution semantics defined using AGTix, scripts for compiling those languages, and other scripts for executing each with test input programs which compare output against expected results. Packaged with this artifact are the Silver Jarfiles for the latest version of AGTix.
Author: Bessant, Luke
Institution: University of Minnesota
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Keywords: name analysis, name resolution
Open Access status: green
OpenAlex ID: W7157951732
