Domain Specific Language Example Java
Wiederholung dsls uberblick wissenschaftliche dsls ausblick agenda.
Domain specific language example java. A domain specific language dsl is a specialized language used for a specific purpose. It is used to solve a specific problem. State machine based java c and c code generation for embedded devices using a familiar domain a digital wrist watch as a pedagogical example.
Domain specific languages can serve all sort of purposes. A domain specific language dsl is a language meant for use in the context of a particular domain. Code can be also executed on android and windows phone emulators.
Julian kunkel seminar softwareentwicklung in der wissenschaft wissenschaftliches rechnen fachbereich informatik fakult at f ur mathematik informatik und naturwissenschaften universit at hamburg 2015 05 19 jonas gresens domain speci c languages. This article covers how a java developer can do nosql operations using just one dsl either. Unlike a general purpose language like java a dsl is fairly limited in scope and capabilities.
Using domain specific language to manipulate nosql databases in java with eclipse jnosql. In our example here the static method sum from the myutil class is called. Examples jonas gresens betreuung.
This example covers product line development by allowing software developers to describe static and behavior in two different yet integrated languages. While java can be leveraged to write any number of programs a dsl. Though in the context of this option.
Traditional java code that. According to fowler s domain specific languages. As the name suggests dsls are keenly focused on a certain type of a problem or domain and on.