PH

P.M. Hübner

info

Please Note

1 records found

A Case Study on a Language with Relative, Unordered and Glob Import Semantics

Bachelor thesis (2023) - P.M. Hübner, C.B. Poulsen, A.S. Zwaan, T. Durieux
Scope graphs provide a way to type-check real-world programming languages and their constructs. A previous implementation that type-checks the proof-of-concept language LM, a language with relative, unordered, and glob imports, does not halt. This thesis discusses a five-step approach for constructing and type-checking a scope graph of an LM program. Using manually scheduled queries and auxiliary algorithms, type-checking the majority of examples failing in previous literature succeeds. The introduction of breadth-first-traversal and multi-origin querying is discussed as new scope graph primitives to aid in the reusability of this thesis for type-checkers that require stratified resolution. ...