{"id":427,"date":"2015-01-12T17:13:55","date_gmt":"2015-01-12T17:13:55","guid":{"rendered":"http:\/\/onefact-migrate.zipfish-sites.io\/?p=192"},"modified":"2020-12-16T16:10:28","modified_gmt":"2020-12-16T16:10:28","slug":"modeling-domain-specific-languages","status":"publish","type":"post","link":"https:\/\/onefact.net\/modeling-domain-specific-languages\/","title":{"rendered":"Modeling Domain Specific Languages"},"content":{"rendered":"<p>Domain Specific Languages (DSLs) are presently all the rage. \u00a0The concept has existed since the first time a programmer used a programming language to define another programming language. \u00a0The core idea is to define a language that is natural to a user in a &#8220;specific domain&#8221;. \u00a0An example presented in the linked video tutorial focuses on the &#8220;language of laboratory biology&#8221;.<\/p>\n<p><iframe title=\"xtUML and Domain Specific Languages (DSL)\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/Z3hDKAZwdEk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>Laboratory biologists speak in terms like <em>start<\/em>, <em>sample<\/em>, <em>next sample<\/em>, <em>volume<\/em>, <em>inject<\/em>, <em>extract<\/em>, <em>pause<\/em> and <em>rinse<\/em>. \u00a0They &#8220;speak&#8221; these terms while configuring laboratory experiments that may, for example, analyze samples of blood collected during pharmacokinetic studies. \u00a0xtUML is a powerful tool in &#8220;modeling a language&#8221;. \u00a0The &#8220;instructions&#8221; of the language can be modeled as classes with operational and state-based dynamic behavior. \u00a0&#8220;Programs&#8221; become the run-time instance population of the modeled language. \u00a0Model the language once, and then use it many times.<\/p>\n<p>xtUML has been employed\u00a0to model Domain Specific Languages in a handful of domains including laboratory science, industrial automation and office device control. \u00a0The approach has been applied so many times that certain patterns have emerged. \u00a0It is these patterns that are factored out into a common set of reusable models described in the video tutorial.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Domain Specific Languages (DSLs) are presently all the rage. \u00a0The concept has existed since the first time a programmer used a programming language to define another programming language. \u00a0The core idea is to define a language that is natural to a user in a &#8220;specific domain&#8221;. \u00a0An example presented in the linked video tutorial focuses [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-427","post","type-post","status-publish","format-standard","hentry","category-announcements"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts\/427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/comments?post=427"}],"version-history":[{"count":1,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts\/427\/revisions"}],"predecessor-version":[{"id":1595,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts\/427\/revisions\/1595"}],"wp:attachment":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/media?parent=427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/categories?post=427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/tags?post=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}