Companion to the 19th Annual ACM SIGPLAN Conference on Object-Oriented Programming Systems, Languages, and Applications 2004
DOI: 10.1145/1028664.1028687
|View full text |Cite
|
Sign up to set email alerts
|

Implementing DSLs in metaOCaml

Abstract: Multi-stage programming, program generation, staged interpretersWe demonstrate MetaOCaml [2, 6] as a tool that can be used to obtain efficient implementations for domain-specific languages (DSLs).

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
7
0

Year Published

2010
2010
2014
2014

Publication Types

Select...
3
3

Relationship

0
6

Authors

Journals

citations
Cited by 7 publications
(7 citation statements)
references
References 5 publications
0
7
0
Order By: Relevance
“…These languages achieve the embedding in different ways [4,8,14,30], but this is always reflected in the type signatures. In the context of Scala, there are additional problems with type inference and implicit conversions, however, we omit those from the discussion as language specific.…”
Section: Motivationmentioning
confidence: 99%
“…These languages achieve the embedding in different ways [4,8,14,30], but this is always reflected in the type signatures. In the context of Scala, there are additional problems with type inference and implicit conversions, however, we omit those from the discussion as language specific.…”
Section: Motivationmentioning
confidence: 99%
“…Compiled embedded DSLs, as studied by Leijen et al [14] and Elliott et al [5], can also be implemented using MSP languages by writing an explicit interpreter and adding staging annotations in a second step [19,4,7]. This is simpler than writing a full compiler but compared to constructing explicit interpreters, "purely" embedded languages that are implemented as plain libraries have many advantages [9].…”
Section: Related Workmentioning
confidence: 99%
“…The usual approach, taken e.g. by MetaOCaml [20], is to use different kinds of syntactic brackets to delineate staged expressions in a DSL, i.e., those that will be part of the generated program from the host program. Staged expressions can have holes, also marked by special syntax, into which the result of evaluating the contained generator stage expression will be placed.…”
Section: Related Workmentioning
confidence: 99%