{"id":{"repo_id":"ku","oai_identifier":"oai:kuscholarworks.ku.edu:1808/27591"},"canonical_url":"https://search.ndltd.org/etd/ku/oai:kuscholarworks.ku.edu:1808/27591","repository":{"repo_id":"ku","name":"University of Kansas","base_url":"https://kuscholarworks.ku.edu/server/oai/request"},"display":{"title":"Domain Specific Languages for Small Embedded Systems","abstract":"Resource limited embedded systems provide a great challenge to programming using functional languages. Although these embedded systems cannot be programmed directly with Haskell, I show that an embedded domain specific language is able to be used to program them, and provides a user friendly environment for both prototyping and full development. The Arduino line of microcontroller boards provide a versatile, low cost and popular platform for development of these resource limited systems, and I use these boards as the platform for my DSL research. First, I provide a shallowly embedded domain specific language, and a firmware interpreter, allowing the user to program the Arduino while tethered to a host computer. Shallow EDSLs allow a programmer to program using many of the features of a host language and its syntax, but sacrifice performance. Next, I add a deeply embedded version, allowing the interpreter to run standalone from the host computer, as well as allowing the code to be compiled to C and then machine code for efficient operation. Deep EDSLs provide better performance and flexibility, through the ability to manipulate the abstract syntax tree of the DSL program, but sacrifice syntactical similarity to the host language. Using Haskino, my EDSL designed for Arduino microcontrollers, and a compiler plugin for the Haskell GHC compiler, I show a method for combining the best aspects of shallow and deep EDSLs. The programmer is able to write in the shallow EDSL, and have it automatically transformed into the deep EDSL. This allows the EDSL user to benefit from powerful aspects of the host language, Haskell, while meeting the demanding resource constraints of the small embedded processing environment.","abstract_html":"Resource limited embedded systems provide a great challenge to programming using functional languages. Although these embedded systems cannot be programmed directly with Haskell, I show that an embedded domain specific language is able to be used to program them, and provides a user friendly environment for both prototyping and full development. The Arduino line of microcontroller boards provide a versatile, low cost and popular platform for development of these resource limited systems, and I use these boards as the platform for my DSL research. First, I provide a shallowly embedded domain specific language, and a firmware interpreter, allowing the user to program the Arduino while tethered to a host computer. Shallow EDSLs allow a programmer to program using many of the features of a host language and its syntax, but sacrifice performance. Next, I add a deeply embedded version, allowing the interpreter to run standalone from the host computer, as well as allowing the code to be compiled to C and then machine code for efficient operation. Deep EDSLs provide better performance and flexibility, through the ability to manipulate the abstract syntax tree of the DSL program, but sacrifice syntactical similarity to the host language. Using Haskino, my EDSL designed for Arduino microcontrollers, and a compiler plugin for the Haskell GHC compiler, I show a method for combining the best aspects of shallow and deep EDSLs. The programmer is able to write in the shallow EDSL, and have it automatically transformed into the deep EDSL. This allows the EDSL user to benefit from powerful aspects of the host language, Haskell, while meeting the demanding resource constraints of the small embedded processing environment.","abstract_has_math":false,"creators":["Grebe, Mark"],"institution":"University of Kansas","degree_name":"Ph.D.","degree_level":null,"degree_discipline":"Electrical Engineering & Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["Gill, Andy"],"committee_chairs":[],"committee_members":["Alexander, Perry","Kulkarni, Prasad","Shontz, Suzanne","Camarda, Kyle"],"year":2018,"date_issued":"2018-05-31","date_published":"2018-05-31","updated_at":"2026-11-19T04:48:12Z","subjects":["Computer science","Arduino","EDSL","Embedded Systems","GHC","Haskell","Transformations"],"languages":["en"],"rights":["openAccess","Copyright held by the author."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["https://www.proquest.com/docview/2075061450"],"render_values":[{"text":"https://www.proquest.com/docview/2075061450","href":"https://www.proquest.com/docview/2075061450","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1808/27591","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1808/27591","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":"open","embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aku%3Aoai%3Akuscholarworks.ku.edu%3A1808%2F27591","prefix":"oai_dc"},"source_record":{"url":"https://kuscholarworks.ku.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Akuscholarworks.ku.edu%3A1808%2F27591","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Gill, Andy"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Alexander, Perry","Kulkarni, Prasad","Shontz, Suzanne","Camarda, Kyle"]},{"key":"dc:creator","label":"Author","values":["Grebe, Mark"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2019-01-01T20:57:48Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2019-01-01T20:57:48Z"]},{"key":"dc:date.issued","label":"Date","values":["2018-05-31"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2018"]},{"key":"dc:publisher","label":"Institution","values":["University of Kansas"]},{"key":"dc:type","label":"Dc Type","values":["Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Electrical Engineering & Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Ph.D."]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer science","Arduino","EDSL","Embedded Systems","GHC","Haskell","Transformations"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright held by the author."]},{"key":"dc:rights.accessrights","label":"Access Rights","values":["openAccess"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["https://www.proquest.com/docview/2075061450"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1808/27591"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Resource limited embedded systems provide a great challenge to programming using functional languages. Although these embedded systems cannot be programmed directly with Haskell, I show that an embedded domain specific language is able to be used to program them, and provides a user friendly environment for both prototyping and full development. The Arduino line of microcontroller boards provide a versatile, low cost and popular platform for development of these resource limited systems, and I use these boards as the platform for my DSL research. First, I provide a shallowly embedded domain specific language, and a firmware interpreter, allowing the user to program the Arduino while tethered to a host computer. Shallow EDSLs allow a programmer to program using many of the features of a host language and its syntax, but sacrifice performance. Next, I add a deeply embedded version, allowing the interpreter to run standalone from the host computer, as well as allowing the code to be compiled to C and then machine code for efficient operation. Deep EDSLs provide better performance and flexibility, through the ability to manipulate the abstract syntax tree of the DSL program, but sacrifice syntactical similarity to the host language. Using Haskino, my EDSL designed for Arduino microcontrollers, and a compiler plugin for the Haskell GHC compiler, I show a method for combining the best aspects of shallow and deep EDSLs. The programmer is able to write in the shallow EDSL, and have it automatically transformed into the deep EDSL. This allows the EDSL user to benefit from powerful aspects of the host language, Haskell, while meeting the demanding resource constraints of the small embedded processing environment."]},{"key":"dc:description.note","label":"Dc Description Note","values":["This item contains archived web content."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["165 pages"]},{"key":"dc:title","label":"Title","values":["Domain Specific Languages for Small Embedded Systems"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Gill, Andy"],"dc:contributor.committeemember":["Alexander, Perry","Kulkarni, Prasad","Shontz, Suzanne","Camarda, Kyle"],"dc:creator":["Grebe, Mark"],"dc:date.accessioned":["2019-01-01T20:57:48Z"],"dc:date.available":["2019-01-01T20:57:48Z"],"dc:date.issued":["2018-05-31"],"dc:date.submitted":["2018"],"dc:description.abstract":["Resource limited embedded systems provide a great challenge to programming using functional languages. Although these embedded systems cannot be programmed directly with Haskell, I show that an embedded domain specific language is able to be used to program them, and provides a user friendly environment for both prototyping and full development. The Arduino line of microcontroller boards provide a versatile, low cost and popular platform for development of these resource limited systems, and I use these boards as the platform for my DSL research. First, I provide a shallowly embedded domain specific language, and a firmware interpreter, allowing the user to program the Arduino while tethered to a host computer. Shallow EDSLs allow a programmer to program using many of the features of a host language and its syntax, but sacrifice performance. Next, I add a deeply embedded version, allowing the interpreter to run standalone from the host computer, as well as allowing the code to be compiled to C and then machine code for efficient operation. Deep EDSLs provide better performance and flexibility, through the ability to manipulate the abstract syntax tree of the DSL program, but sacrifice syntactical similarity to the host language. Using Haskino, my EDSL designed for Arduino microcontrollers, and a compiler plugin for the Haskell GHC compiler, I show a method for combining the best aspects of shallow and deep EDSLs. The programmer is able to write in the shallow EDSL, and have it automatically transformed into the deep EDSL. This allows the EDSL user to benefit from powerful aspects of the host language, Haskell, while meeting the demanding resource constraints of the small embedded processing environment."],"dc:description.note":["This item contains archived web content."],"dc:format.extent":["165 pages"],"dc:identifier.other":["https://www.proquest.com/docview/2075061450"],"dc:identifier.uri":["https://hdl.handle.net/1808/27591"],"dc:language.iso":["en"],"dc:publisher":["University of Kansas"],"dc:rights":["Copyright held by the author."],"dc:rights.accessrights":["openAccess"],"dc:subject":["Computer science","Arduino","EDSL","Embedded Systems","GHC","Haskell","Transformations"],"dc:title":["Domain Specific Languages for Small Embedded Systems"],"dc:type":["Dissertation"],"dspace:entity.type":["Publication"],"thesis:degree_discipline":["Electrical Engineering & Computer Science"],"thesis:degree_name":["Ph.D."]},"updated_at":"2026-11-19T04:48:12Z"}