WeSearch

Scope Graphs – A Theory of Name Resolution

·4 min read · 0 reactions · 0 comments · 2 views
#scope graphs#name resolution#programming languages#type systems#language workbenches#Spoofax#ECOOP#OOPSLA#POPL#Eelco Visser#Hendrik van Antwerpen#Casper Bach Poulsen#Andrew P. Tolmach
⚡ TL;DR · AI summary

Scope graphs offer a formal theory for defining name binding rules in programming languages, providing a structured way to represent declarations, references, and scopes. They enable both visual explanation and rigorous implementation of name resolution through path searches in graphs. This approach supports tooling in language workbenches like Spoofax, facilitating IDE features and interpreters with a language-independent foundation.

Key facts
Original article
Tudelft
Read full at Tudelft →
Opening excerpt (first ~120 words) tap to expand

PL Group Organization People Alumni Positions Group Pictures Programming Languages Section Education Teaching Master Project Bachelor Project Research Publications Posters Software Projects Dissertations Technical Reports Events News Seminar Reading Group Contact Scope Graphs | A Theory of Name Resolution Names are crucial for organizing and understanding programs. Yet names and name binding get a second class treatment in programming language definition. We have a fairly standardized approach based on context-free grammars to provide tool independent descriptions of the syntax of programming languages. There is no analog for describing the name binding rules of programming languages.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Tudelft.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Tudelft