Title
Generating smart wrapper libraries for arbitrary APIs
Abstract
“Library design is language design” [1]. The development of a smart program library is very similar to the creation of a domain specific language (DSL). Both are currently created in an ad-hoc manner, taking account of best practices and software patterns. Creating new languages and the tools needed to integrate them can be very cumbersome. We propose a reproducible, model-driven methodology to add automation to the DSL-creation process. Our novel approach presents an easy way to design and generate smart, API-wrapping libraries, similar to internal DSLs. These libraries increase the usability of an existing API and can be easily integrated into existing software development tool chains. To generate these DSLs, we propose an enhanced code generation that applies usability-enhancing software patterns. Our current generator leverages the Expression Builder pattern, which is described in detail. We validate our methodology and our enhanced code generation by applying it to Java APIs resulting in smart Java libraries that we call “dotLings”.
Year
DOI
Venue
2009
10.1007/978-3-642-12107-4_24
SLE
Keywords
Field
DocType
smart program library,existing api,library design,generating smart wrapper library,arbitrary apis,language design,enhanced code generation,api-wrapping library,smart java library,domain specific language,software development tool chain,software pattern,domain specific languages,best practice,code generation,specification language
Domain-specific language,Programming language,Software engineering,Computer science,Digital subscriber line,Usability,Automation,Code generation,Software,Java,Software development
Conference
Volume
ISSN
ISBN
5969
0302-9743
3-642-12106-3
Citations 
PageRank 
References 
2
0.47
12
Authors
1
Name
Order
Citations
PageRank
Uwe Jugel1847.94