2018
DOI: 10.1007/978-3-030-05998-9_12
|View full text |Cite
|
Sign up to set email alerts
|

Creating Domain-Specific Languages by Composing Syntactical Constructs

Abstract: Creating a programming language is a considerable undertaking, even for relatively small domain-specific languages (DSLs). Most approaches to ease this task either limit the flexibility of the DSL or consider entire languages as the unit of composition. This paper presents a new approach using syntactical constructs (also called syncons) for defining DSLs in much smaller units of composition while retaining flexibility. A syntactical construct defines a single language feature, such as an if statement or an an… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
9
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
3
1

Relationship

3
1

Authors

Journals

citations
Cited by 4 publications
(9 citation statements)
references
References 28 publications
0
9
0
Order By: Relevance
“…Many (though not all) of the ambiguities that arise are resolvable, whereby our implementation produces suggested resolutions. One interesting example (originally from [31]) is that of nested match-expressions. OCaml ignores whitespace and uses longest match to disambiguate nested matches, thus the following code has a type error:…”
Section: Case Study: Informal Ocaml Grammarmentioning
confidence: 99%
See 4 more Smart Citations
“…Many (though not all) of the ambiguities that arise are resolvable, whereby our implementation produces suggested resolutions. One interesting example (originally from [31]) is that of nested match-expressions. OCaml ignores whitespace and uses longest match to disambiguate nested matches, thus the following code has a type error:…”
Section: Case Study: Informal Ocaml Grammarmentioning
confidence: 99%
“…In our previous work [31] we also create languages through composition and show ambiguity errors to users. However, the errors merely present a shallow view of the ASTs of the alternatives, no suggested resolutions, which are instead left for future work.…”
Section: Previous and Related Workmentioning
confidence: 99%
See 3 more Smart Citations