2016
DOI: 10.1145/2914770.2837644
|View full text |Cite
|
Sign up to set email alerts
|

Sound type-dependent syntactic language extension

Abstract: Syntactic language extensions can introduce new facilities into a programming language while requiring little implementation effort and modest changes to the compiler. It is typical to desugar language extensions in a distinguished compiler phase after parsing or type checking, not affecting any of the later compiler phases. If desugaring happens before type checking, the desugaring cannot depend on typing information and type errors are reported in terms of the generated code. If desugaring happens after type… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
3
0

Year Published

2016
2016
2020
2020

Publication Types

Select...
3
1
1

Relationship

0
5

Authors

Journals

citations
Cited by 5 publications
(3 citation statements)
references
References 28 publications
(21 reference statements)
0
3
0
Order By: Relevance
“…Composability without static guarantees have been shown to work in practice at the syntactic level [44] and using complete language workbenches [16,22,61]. However, it is still an open problem to be able to guarantee sound composition of language fragments, although recent progress has been made within the area of attribute grammars [34] or based on type-dependent syntactic extensions [39]. For instance, a desirable property of statically typed languages is type soundness, where "well-typed programs cannot go wrong".…”
Section: Composition Of Language Fragmentsmentioning
confidence: 99%
“…Composability without static guarantees have been shown to work in practice at the syntactic level [44] and using complete language workbenches [16,22,61]. However, it is still an open problem to be able to guarantee sound composition of language fragments, although recent progress has been made within the area of attribute grammars [34] or based on type-dependent syntactic extensions [39]. For instance, a desirable property of statically typed languages is type soundness, where "well-typed programs cannot go wrong".…”
Section: Composition Of Language Fragmentsmentioning
confidence: 99%
“…Many researchers have developed extensible type systems [2,4,11,28,30,36,37]. These frameworks typically augment a fixed host type system, which imposes some limitations on what kinds of extensions are allowed.…”
Section: Related Workmentioning
confidence: 99%
“…SoundX (Lorenzen & Erdweg, 2016) is a step toward a solution to this problem, demonstrating extensions to language syntax which are less powerful than macros, but whose expansions are guaranteed to be type-safe. We believe that the major remaining steps between SoundX and true typed macros are:…”
Section: Soundxmentioning
confidence: 99%