Sciweavers

OOPSLA
2015
Springer

Slimming languages by reducing sugar: a case for semantics-altering transformations

8 years 7 months ago
Slimming languages by reducing sugar: a case for semantics-altering transformations
Splitting a language into a core language and a desugaring function makes it possible to produce tractable semantics for real-world languages. It does so by pushing much of the language’s complexity into desugaring. This, however, produces large and unwieldy core programs, which has proven to be a significant obstacle to actual use of these semantics. In this paper we analyze this problem for a semantics of JavaScript. We show that much of the bloat is semantic bloat: a consequence of the language’s rich semantics. We demonstrate how assumptions about language use can confine this bloat, and codify these through several transformations that, in general, do not preserve the language’s semantics. We experimentally demonstrate the effectiveness of these transformations. Finally, we discuss the implications of this work on language design and structure. Categories and Subject Descriptors CR-number [subcategory]: third-level
Junsong Li, Justin Pombrio, Joe Gibbs Politz, Shri
Added 16 Apr 2016
Updated 16 Apr 2016
Type Journal
Year 2015
Where OOPSLA
Authors Junsong Li, Justin Pombrio, Joe Gibbs Politz, Shriram Krishnamurthi
Comments (0)