Proceedings of the First Workshop on the Globalization of Domain Specific Languages 2013
DOI: 10.1145/2489812.2489815
|View full text |Cite
|
Sign up to set email alerts
|

Type-directed, whitespace-delimited parsing for embedded DSLs

Abstract: Domain-specific languages improve ease-of-use, expressiveness and verifiability, but defining and using different DSLs within a single application remains difficult. We introduce an approach for embedded DSLs where 1) whitespace delimits DSL-governed blocks, and 2) the parsing and type checking phases occur in tandem so that the expected type of the block determines which domain-specific parser governs that block. We argue that this approach occupies a sweet spot, providing high expressiveness and ease-of-use … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
6
0

Year Published

2013
2013
2017
2017

Publication Types

Select...
3
1
1

Relationship

1
4

Authors

Journals

citations
Cited by 5 publications
(6 citation statements)
references
References 12 publications
0
6
0
Order By: Relevance
“…One can refer to our version of the language as TSL Wyvern when the variant being discussed is not clear. Our work substantially extends and makes concrete a mechanism we sketched in a short workshop paper [23].…”
mentioning
confidence: 75%
“…One can refer to our version of the language as TSL Wyvern when the variant being discussed is not clear. Our work substantially extends and makes concrete a mechanism we sketched in a short workshop paper [23].…”
mentioning
confidence: 75%
“…Wyvern [35] does support reliable composition of independently developed (syntactic) language extensions, without abandoning parsing in favor of projectional editing.…”
Section: Objectsmentioning
confidence: 99%
“…Wyvern [35] is the only extensible language system besides Silver, to our knowledge, that supports reliable composition of independently developed language extensions, at least syntactically, without abandoning parsing in favor of projectional editing. However, their approach does not accommodate introducing new analysis of the host language, and so is similar to syntactic macros in being non-interfering, but more limited.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Wyvern [131] supports nested domain-specific languages within Wyvern code [139,140]. A DSL block is identified by indentation or predefined quoting, and parsing is type-directed: which language a DSL block is written in is determined by the type to which its result is assigned.…”
Section: Wyvernmentioning
confidence: 99%