Loading...
Please wait, while we are loading the content...
Similar Documents
Resugaring : Lifting Languages through Syntactic Sugar
| Content Provider | Semantic Scholar |
|---|---|
| Author | Pombrio, Justin |
| Copyright Year | 2016 |
| Abstract | Syntactic sugar is pervasive in language technology. Programmers use it to shrink the size of a core language; to define domain-specific languages; and even to extend their language. Unfortunately, when syntactic sugar is eliminated by transformation, it obscures the relationship between the user's source program and the program being evaluated. First, it obscures the evaluation steps the program takes when it runs, since these evaluation steps happen in the core (desugared) language rather than the surface (pre-desugaring) language the program was written in. Second, it obscures the semantics of the surface language, since typically a semantics is given only for the core language, with the surface semantics defined implicitly by transformation to the core. And finally, it obscures the scoping rules for the surface language for the same reason. I will address these problems by showing how formal semantics, scoping rules, and evaluation steps can all be resugared from core to surface languages, thus restoring the abstraction provided by syntactic sugar. While doing so, I will use the Pyret language as a testbed to ensure that these techniques can be practically applied. Advisor: Shriram Krishnamurthi (Brown University) External Committee Members: Eelco Visser (Delft University of Technology) and Mitchell Wand (Northeastern University) |
| File Format | PDF HTM / HTML |
| Alternate Webpage(s) | http://justinpombrio.net/tell/proposal.pdf |
| Language | English |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Article |