Abstract
The value that domain-specific languages provide to their users is the domain-specific language features they contain. These features provide notations from the domain of interest, as well as domain-specific analysis and optimizations. But domain-specific languages are sometimes a poor means of delivering these valuable features to their users. A challenge arises when a problem crosses multiple domains and whose programming or modeling solution could benefit from language features from all domains of interest. Using multiple domain-specific languages can become cumbersome, perhaps outweighing their benefits in the first place. An alternative approach, advocated by this position paper, is to provide domain-specific language features to programmers and modelers as composable language extensions that they can import into their general-purpose programming or modeling language. In our view, there are three requirements for a language extension framework to be widely usable. First, language extensions should be developed independently, by domain-experts, as libraries or domain-specific languages are now. Second, extensions should be automatically composable so that programmers and modelers can pick the language extensions they want, and direct tools to compose them, without the need for writing "glue-code." Third, this composition process should not fail to yield a working compiler (or other tools) for the custom extended language. Thus, the programmer has some assurance that the extensions that they pick will work together. We briefly describe how this vision of extensible language frameworks is supported by the Silver and Copper metaprogramming tools.
Original language | English (US) |
---|---|
Title of host publication | Proceedings of the 1st Workshop on the Globalization of Domain Specific Languages, GlobalDSL 2013 |
Publisher | Association for Computing Machinery |
Pages | 18-21 |
Number of pages | 4 |
ISBN (Print) | 9781450320436 |
DOIs | |
State | Published - 2013 |
Event | 1st Workshop on the Globalization of Domain Specific Languages, GlobalDSL 2013 - Montpellier, France Duration: Jul 1 2013 → Jul 1 2013 |
Publication series
Name | Proceedings of the 1st Workshop on the Globalization of Domain Specific Languages, GlobalDSL 2013 |
---|
Other
Other | 1st Workshop on the Globalization of Domain Specific Languages, GlobalDSL 2013 |
---|---|
Country/Territory | France |
City | Montpellier |
Period | 7/1/13 → 7/1/13 |
Bibliographical note
Funding Information:The authors wish to thank the American Dental Education Association Council of Sections Project Pool for its generous support of this research and the women dental faculty members who made time to complete this survey.